Localization
rootfont supports multiple languages to serve a global user base.
Supported Languages
- en — English
- zh-Hans — Simplified Chinese (简体中文)
- zh-Hant — Traditional Chinese (繁體中文)
- ja — Japanese (日本語)
- ko — Korean (한국어)
- fr — French (Français)
- de — German (Deutsch)
- es — Spanish (Español)
How Localization Works
rootfont uses Apple's standard localization system with .strings files. Quick Sample presets include dedicated Japanese and Korean text.
When a selected font does not fully support the current preview text, rootfont shows a fallback warning.
Contributing Translations
- Find the
.stringsfiles in the project underSources/RootFontApp/ - Add or update translations for your target locale
- Run
python3 scripts/check-l10n.pyto validate completeness - Submit a pull request with your changes
Validation
The CI pipeline includes a localization check that verifies all strings are present across supported languages. Run locally with:
python3 scripts/check-l10n.py