Skip to content

Add translation store with support for English and French #1804

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

Closed
wants to merge 5 commits into from

Conversation

keligggg
Copy link
Contributor

@keligggg keligggg commented Apr 24, 2025

Add code structure for UI translation

Add French translation of the UI

image

Select your preferred language in the application settings.
Browser language can be used if browser language is available.

image

Thanks to the DEFAULT_LANGUAGE environment variable, you can also define your application's default language preference. This can be a language already installed (e.g. 'en' or 'fr').
Also takes into account the 'browser' value to set the default language on the user's browser.

@nsarrazin
Copy link
Collaborator

Hey sorry I don't think we will be merging this. It's quite a big change and I don't think using a store is the best way for this, we want to make sure it works with SSR for example. We probably want to use a tool like paraglide if we end up supporting i18n.

It also makes the codebase quite a bit more complex and since there's been little requests for translations atm (this issue on the topic doesn't have a lot of reactions) I don't think we'll be spending time on this for now.

@nsarrazin nsarrazin closed this May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants