Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per-page translations #3187

Open
2 of 4 tasks
MickL opened this issue Oct 22, 2024 · 2 comments
Open
2 of 4 tasks

Per-page translations #3187

MickL opened this issue Oct 22, 2024 · 2 comments

Comments

@MickL
Copy link
Contributor

MickL commented Oct 22, 2024

Describe the feature

Same as #498 from 2019, I guess. The last comment from 2021, asking for a solution has 11 upvotes so I guess there is no solution.

I am having some pages that do not have repeating text and content, e.g. "general terms conditions". This page has a lot of paragraphs with headlines in between and links and the content can be very different per language. It will not be a 1:1 translation.

What I would like to have is a page per translation, e.g.:

- gtc-en.vue
- gtc-de.vue

Or translate it by the usage of a component with a slot-like:

- gtc.vue
  - /i18n/de.vue
  - /i18n/en.vue

Then it could look something like this:

<template>
    <h1>{{ $t('gtc-title')}} </h1>
   <i18n langDir="i18n" />
</template>

Or maybe something else?

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

@Joshinn-io
Copy link

We are also looking for this solution, was disappointed to see the previous issue from 5 years ago ended up getting closed. Would love to see this revisited! It's not feasible for us to load all languages for every page for sites with lots of languages/content, would be much more efficient if we can get only the necessary ones as per issue #498

@MickL
Copy link
Contributor Author

MickL commented Oct 24, 2024

I think we can use #498 (comment) for now, but I agree this feature is a MUST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants