-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Dynamic Translations (e.g. via network) #52
Comments
When can we expect this to land @Tienisto ? |
Currently, I have no plans to implement this feature because there are still lots of open questions. This library generates the locale enum - should all locales be specified and how? Why do you want this feature? Only to reduce asset size? |
Yes, reducing asset size and the ability to change strings remotely. |
Released in |
Motivation
To reduce asset size, developers can extract the translations to the server.
The translations will be fetched at runtime.
Developer Experience
Because every key needs to be known at compile time, the base translations must be available.
Now load a locale:
This will blow up the generated file. Therefore, this should be opt-in.
The text was updated successfully, but these errors were encountered: