Skip to content

Add Dutch, Polish, Simplified Chinese, and Traditional Chinese picker translations - #97

Open
DeBaschdi wants to merge 1 commit into
thunderbird:masterfrom
DeBaschdi:feature/vfs-toolkit-picker-translations
Open

DeBaschdi wants to merge 1 commit into
thunderbird:masterfrom
DeBaschdi:feature/vfs-toolkit-picker-translations

Conversation

@DeBaschdi

Copy link
Copy Markdown
Contributor

Summary

  • Add complete Dutch (nl) and Polish (pl) translations for the VFS picker.
  • Add complete Simplified Chinese (zh_CN) and Traditional Chinese (zh_TW) translations.
  • Resolve region-specific locales before falling back to the base language and finally English.

Reason

The VFS picker currently falls back to English for Dutch, Polish, and Chinese Thunderbird installations.

Chinese also requires region-aware locale selection. The previous language-only lookup reduced both zh-CN and zh-TW to zh, so it could not select the correct regional translation.

Existing language fallback remains unchanged. For example, pt-BR continues to use the existing pt translation when no regional catalog exists.

Validation

  • Parsed all added locale files as JSON.
  • Compared all catalogs with en.json: 96 matching keys per locale.
  • Checked $1 placeholder parity.
  • Verified locale selection for:
    • zh-CNzh_CN
    • zh-TWzh_TW
    • nl-NLnl
    • pl-PLpl
    • pt-BRpt
    • unsupported locales → en
  • Verified picker.mjs syntax with Node.js.

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