-
-
Notifications
You must be signed in to change notification settings - Fork 848
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
Set default language in config file #1561
Comments
Agree! |
I'd love to see that as well :) |
It was not an oversight. I tried it before a couple of times, but because the way React-Admin apps are structured, I'd have to add all languages in the final bundle, which would make the initial load larger and slower. I tried it again and I think I found a good solution. The new config option is Please test it and let me know. |
Fixed. Thanks for testing. |
Just tested with latest docker hub release 0.48.0, it works fine with this in the docker compose : |
Thanks for adding the option. However for "zh-Hans" it occurs error that |
You has to be 2 letter ISO code for language . The China`s 2 letter is 'zh' ? |
Unfortuately, it doesn't define in the resources i18n. |
I tried |
The It is only used for new sessions. So, if you already logged from a browser, it won't use the default anymore. If you are still having issues with this, please open a new issue in GitHub, as this one is already closed. Thanks! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Is your feature request related to a problem?
Please describe.
Describe the solution you'd like
The text was updated successfully, but these errors were encountered: