Skip to content

Mac launcher: VK's twelve languages, mirrored screens for Arabic and Urdu - #36

Merged
utkuhalis merged 2 commits into
mainfrom
parity/mac-languages
Nov 1, 2026
Merged

utkuhalis merged 2 commits into
mainfrom
parity/mac-languages

Conversation

@utkuhalis

Copy link
Copy Markdown
Collaborator

Launcher parity with AnyLauncher Port: the Port's twelve extra languages on the Mac.

  • tools/macos/launcher/l10n/{ar,bho,bn,de,es,fr,hi,id,ja,pt,ru,ur}.json, translated by VK for the Windows/Linux launcher. Each file holds only the keys whose English text is the same in both launchers' en.json (861 of 1842), checked key by key. A key whose English differs (PC against Mac) is left out and shows in English.
  • scripts/import-port-translations.py <Port checkout> carries them over again when the Port's files change. It keeps a text translated here for a key only the Mac has.
  • The language picker lists them from the files, as it already did for user files.
  • Arabic and Urdu: the screens are laid out right to left (SwiftUI layoutDirection), and ← and → follow what is drawn, so the row of games and the panels move as they look.
  • LanguageCheckTests: the partial languages are listed by their own names, their placeholders match en.json, and a missing text shows in English. A test for the mirrored arrows.
  • README and l10n/TRANSLATING.md credit VK as the Port does.

Checked: swift build, swift test --filter "LanguageCheckTests|LanguageFilesTests" (all pass), and offscreen renders of the home screen in Arabic (--render-preview).

…or Arabic and Urdu

German, Spanish, French, Portuguese, Indonesian, Russian, Japanese, Hindi, Bengali,
Bhojpuri, Arabic and Urdu, translated by VK for the Windows/Linux launcher. Each file holds
only the keys whose English reads the same in both launchers' en.json, so no translation
of another English text is reused. The rest shows in English. The language picker lists
them from the files, as before.

scripts/import-port-translations.py carries them over again when the Port's files change.
Arabic and Urdu lay the screens out right to left, and the arrows follow what is drawn.
LanguageCheckTests check the partial files: listed by name, English placeholders, English
where a text is missing, and the mirrored arrows.
@utkuhalis
utkuhalis merged commit 959e8ec into main Nov 1, 2026
10 checks passed
@utkuhalis
utkuhalis deleted the parity/mac-languages branch November 1, 2026 02:33
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