-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
[web] The default language (system) is always english #320
Comments
This could be done by passing options to the run command but it is not implemented. But if you set the language in the settings it should not change (even if the container restarts). What is your usecase? |
I would like to start ConverterNOW in italian because I would like to self-host it to italian people, but I do not want they have to change the language manually because some of them does not know english at all. For the moment, it is ok to manually pass some variables at any point 😅 |
The default setting is to use the system language of the browser. So if the PC language is Italian they should see the Italian translation of the app. This should be enough for your use case |
It could be enough, but I have tried with 3 different browsers on 2 devices (Firefox and Chromium from desktop, Firefox on Android), but the default language is always english. I have tried on https://converter-now.web.app/. It could be nice if the web application could start with the browser default language. |
I renamed the title to highlight that there is a problem with the sistem language on web I also investigated a possible solution to this. At the moment the app is using |
For your use case you can just change this line from 'en' to 'it' and manually recompile the app. Let me know if you have further issues |
There is a way to add the default language running the software on docker? It could be useful to set the default locale like adding a
LOCALE
environvment variable on docker. If you tell me where to set the variable on the code i could try to add the env variable to docker. I don't know dart, but I can work on docker.Thanks in advance!
The text was updated successfully, but these errors were encountered: