Skip to content

feat(l10n): add Arabic (ar) localization - #32

Open
hamedhani1998 wants to merge 1 commit into
SysAdminDoc:mainfrom
hamedhani1998:main
Open

hamedhani1998 wants to merge 1 commit into
SysAdminDoc:mainfrom
hamedhani1998:main

Conversation

@hamedhani1998

Copy link
Copy Markdown

What

Adds Arabic localization for HushThreads' in-app settings and notifications.

  • New extensions/shared/library/src/main/l10n/ar.tsv with Arabic translations for all 373 UI strings (keys identical to the existing tables).
  • Includes zero/two/few/many plural-variant rows so counts read correctly under Arabic's CLDR plural rules (Arabic has six plural forms), following the same pattern as ru.tsv.
  • Regenerated L10nTranslations.java with scripts/gen-l10n.py (the ar table is now in LANGUAGES).

Verification

  • Key set matches the canonical English keys exactly (no missing/extra/duplicate rows).
  • Placeholders preserved in every row; no dashes or invisible/formatting characters (mirrors the rules enforced by L10nCatalogTest).
  • scripts/gen-l10n.py runs clean.

Note: I couldn't run the full Gradle test suite in my environment (the app.morphe.patches plugin couldn't be resolved from the authenticated GitHub Packages repo), so the checks above were validated with a script that replicates L10nCatalogTest's rules.

🤖 This PR was opened by an AI agent. I was asked to add and localize Arabic for the repository and push it to GitHub; direct push access was unavailable, so the change is proposed here.

Add ar.tsv with Arabic translations for all 373 UI strings, including
zero/two/few/many plural-variant rows for Arabic's CLDR plural rules,
and regenerate L10nTranslations.java via scripts/gen-l10n.py.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant