-
Notifications
You must be signed in to change notification settings - Fork 75
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
[feature] Implement get text like translations #235
Comments
I'd like to ask suggestions from @R9295 with whom I am working on some other project in which we used https://ttag.js.org/ to do this. Aarnav, here we'll need to do the same thing, with the difference that texts can be overridden by configuration if needed. |
Since there is an express backend, you could lazy load the files that |
What if we define all strings as placeholders and then have po files for each language, including english? For example, by default the build process could look for:
By default option 1 and 2 will not be provided, but users of this app can prepare a custom po file with different wording if needed (either a general one or one for a specific organization). It would be great if we could allow the custom po files to not be complete duplicates of the original po file, so users would only define the custom strings, this will make it a lot easier to maintain over time.
|
Used ttag js to implement get text like translations. Closes #235
Used ttag js to implement get text like translations. Closes #235
Used ttag js to implement get text like translations. Closes #235
Used ttag js to implement get text like translations. Closes #235
Used ttag js to implement get text like translations. Closes #235
Used ttag js to implement get text like translations. Closes #235
Used ttag js to implement get text like translations. Closes #235
Used ttag js to implement get text like translations. Closes #235
Used ttag js to implement get text like translations. Closes #235
Used ttag js to implement get text like translations. Closes #235
Used ttag js to implement get text like translations. Closes #235
Used ttag js to implement get text like translations. Closes #235
Implement get a text like translations: right now translations have to be defined in the configuration file of each organization, repeating the same text over and over, we should avoid this and store the translations in a central place;
However, being able to customize the text for each organization is a great feature and should still be possible if needed.
The text was updated successfully, but these errors were encountered: