rootfont 正處於活躍的 alpha 開發階段,功能可能會有變動。

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

  1. Find the .strings files in the project under Sources/RootFontApp/
  2. Add or update translations for your target locale
  3. Run python3 scripts/check-l10n.py to validate completeness
  4. 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