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

[Feat] Internationalization (i18n) support #55

Open
dallyh opened this issue May 4, 2024 · 1 comment
Open

[Feat] Internationalization (i18n) support #55

dallyh opened this issue May 4, 2024 · 1 comment
Labels
enhancement New feature or request feat planned

Comments

@dallyh
Copy link

dallyh commented May 4, 2024

This issue is supposed to track i18n progress and eventual support in StudioCMS (context).

There are multiple ways to achieve this and all of them are valid for different reasons, the way I see it, StudioCMS should support i18n in one way or another. I will add some techniques that i used in some other content management systems (like Sanity, Caisy etc).

  1. Field level translations

Every field in a record (e.g. blog post) can have its own localized translation. This could be toggleable and configurable for each field (let's say you want to translate only a blog title and content, rest should be the same for both localizations). Every field like this should also have information about it's locale.

  1. Record level translations

Every record (e.g. blog post) has it's own translations (like in Astro content collections when using folders), and they should be linked in the database together, so you can do a query where join those records (this is in my opinion required for something like hreflang in head, where a post should have hreflang tag to every locale that does exist for it). Every record should also have information about it's locale.

For this a feature to copy current record with current values (and link them together) to create a new record for different locale in the frontend would be nice.

@dallyh dallyh changed the title Internationalization (i18n) support [Feat] Internationalization (i18n) support May 4, 2024
@Adammatthiesen Adammatthiesen added enhancement New feature or request feat labels May 4, 2024
@Adammatthiesen
Copy link
Member

Hi @dallyh, I just wanted to reach out to provide a small update to the current progress on this. I am happy to say that i18n is coming to StudioCMS soon! This will start with Issue 304 to implement i18n within the dashboard and create the ability to associate the new multi-lang routes. the next step would be creating the content creation and organization for multi-language content, and then adding support for the front-end routes to use the new functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feat planned
Projects
Development

No branches or pull requests

2 participants