chore: refresh security translations across 31 languages + AI placeholders [DHIS2-19912] - #23073
Merged
Merged
Conversation
|
netroms
force-pushed
the
chore_align_sec_related_translations
branch
from
May 11, 2026 15:28
b09f5b8 to
85ca17e
Compare
|
netroms
marked this pull request as ready for review
May 16, 2026 16:49
netroms
marked this pull request as draft
May 21, 2026 06:14
david-mackessy
approved these changes
May 21, 2026
jbee
approved these changes
May 21, 2026
Remove entries where target value was byte-identical to the English source. 27 security-related keys cleaned across 31 languages (verify_email, 2FA email, OIDC/login, impersonation, password validation, authority labels). Transifex DB pushed in parallel so translators see these as untranslated for retranslation. Signed-off-by: Morten Svanaes <msvanaes@dhis2.org>
…912] Add provisional AI-generated translations across 20 widely-spoken languages for the 27 security keys cleaned in the previous commit (verify_email, 2FA email, OIDC/login, impersonation, password validation, authority labels). Marked in-file as "AI-assisted, pending translator review" so future maintainers know to look for translator improvements. Languages: ar, ar_IQ, bn, cs, da, es, es_419, hi_IN, id, nb, ne, nl, pt, pt_BR, ro, ru, sv, uk, ur, zh_CN. Lower-resource languages (ckb, km, my, or, prs, ps, si, tet, tg, uz_UZ_Cyrl, uz_UZ_Latn) left untranslated for native-speaker review only. Signed-off-by: Morten Svanaes <msvanaes@dhis2.org>
netroms
force-pushed
the
chore_align_sec_related_translations
branch
from
May 21, 2026 09:58
1a99d82 to
5e9b05a
Compare
|
Contributor
|
We should discuss this as it seem to break our translation process (which Claude is not aware of). Pushing stuff to Transifex before this PR is merged means that the Transifex source of truth is currently not compatible with the master branch. The next scheduled sync will revert any source changes that have been pushed related to this branch. |
netroms
marked this pull request as ready for review
May 22, 2026 09:38
This was referenced May 25, 2026
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.



Related: DHIS2-19912
Summary
Two-step cleanup of "English-as-translation" security strings:
Commit 1 —
85ca17e136d: Remove 27 security keys across 31 languages (621 lines deleted). Keys covered:verify_email_*,email_2fa_*, OIDC/login (login_with_*,oidc_login_failed,sign_in_with_openID,login_using_two_factor_authentication,two_factor_authentication_code,mandatory_parameter_missing,password_lowercase_validation), impersonation (impersonate_user,F_IMPERSONATE_USER,F_PREVIOUS_IMPERSONATOR_AUTHORITY), authority labels (F_USER_VIEW,F_USER_VIEW_WITHIN_MANAGED_GROUP,F_VISUALIZATION_EXTERNAL,F_EVENT_VISUALIZATION_EXTERNAL). Real translations were preserved (script only removed lines where value byte-equals English source).Commit 2 —
1a99d828d71: Add AI-generated placeholder translations for 20 widely-spoken languages so end-users don't see English in security flows while translators do their work (506 lines added). Each block headed with a comment marking it AI-assisted and pending review.Languages with AI placeholders:
ar,ar_IQ,bn,cs,da,es,es_419,hi_IN,id,nb,ne,nl,pt,pt_BR,ro,ru,sv,uk,ur,zh_CN.Lower-resource languages (
ckb,km,my,or,prs,ps,si,tet,tg,uz_UZ_Cyrl,uz_UZ_Latn) intentionally not auto-translated — those need native-speaker review.Transifex side
Both the deletions and the AI placeholders were pushed to Transifex via
tx push -t -f. Verified round-trip forru,es,pt,zh_CN(local-after-push == Transifex-pulled).Follow-ups
.tx/configpoints to a non-existent resource ID (r:i18n-global-propertiesrather thanr:master--i18n-global-properties); the CLI compensates via branch heuristics, but the config should be fixed in a separate PRAI Assisted