feat: load custom translations from datastore#950
Merged
KaiVandivier merged 11 commits intoalphafrom Mar 2, 2026
Merged
Conversation
|
dhis2-bot
added a commit
that referenced
this pull request
Mar 2, 2026
# [12.11.0-alpha.1](v12.10.4...v12.11.0-alpha.1) (2026-03-02) ### Features * load custom translations from datastore ([#950](#950)) ([e0e616f](e0e616f))
dhis2-bot
added a commit
that referenced
this pull request
Mar 2, 2026
# [12.11.0-alpha.1](v12.10.4...v12.11.0-alpha.1) (2026-03-02) ### Features * load custom translations from datastore ([#950](#950)) ([e0e616f](e0e616f))
dhis2-bot
added a commit
that referenced
this pull request
Mar 2, 2026
# [12.11.0-alpha.1](v12.10.4...v12.11.0-alpha.1) (2026-03-02) ### Features * load custom translations from datastore ([#950](#950)) ([e0e616f](e0e616f))
dhis2-bot
added a commit
that referenced
this pull request
Mar 2, 2026
# [12.11.0-alpha.1](v12.10.4...v12.11.0-alpha.1) (2026-03-02) ### Features * load custom translations from datastore ([#950](#950)) ([e0e616f](e0e616f))
KaiVandivier
added a commit
that referenced
this pull request
Mar 2, 2026
* feat: add urlSlug (d2config.name) to app config * feat: check datastore for custom translations * refactor: update DHIS2 locale parsing comments * refactor: move custom translations to new file * fix: use data engine for better control flow * fix: check custom translations setting (wip), await datastore result * refactor: double underscore for format * fix: check system settings before fetching translations * refactor: use debug instead of log * refactor: sonarqube recommendations * fix: version check and tests
dhis2-bot
added a commit
that referenced
this pull request
Mar 2, 2026
# [12.11.0-beta.1](v12.10.4...v12.11.0-beta.1) (2026-03-02) ### Features * load custom translations from datastore ([#950](#950)) ([6053917](6053917))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



LIBS-773
If custom translations are enabled (dhis2/dhis2-core#23106), fetches translations in the form of JSON from the datastore and adds them to
i18ntranslation bundles. Awaits the result to avoid a race condition.Before adding translations:

After adding translations:
