Skip to content

feat(desktop): expand and audit locale translations - #40362

Merged
Hona merged 1 commit into
devfrom
desktop-languages
Aug 4, 2026
Merged

feat(desktop): expand and audit locale translations#40362
Hona merged 1 commit into
devfrom
desktop-languages

Conversation

@opencode-agent

@opencode-agentopencode-agentBot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add complete app, UI, and Desktop dictionaries for Azerbaijani, Finnish, Hindi, Indonesian, Italian, Dutch, Pakistani Punjabi (Shahmukhi), Swedish, Urdu, and Vietnamese
  • enable the existing Turkish app/UI translation in Desktop and add its Desktop-specific dictionary
  • source-review and correct all existing non-English app/UI/Desktop dictionaries using official language authorities plus established Microsoft, Apple, and Mozilla localization resources
  • complete missing shared-app strings across existing locales
  • register locale loading, native display labels, browser-language detection, and Traditional Chinese detection for Hong Kong, Taiwan, and Macao locale tags
  • keep this translation-only: RTL layout, direction handling, and CSS are intentionally unchanged
  • exclude Tamazight after source review showed the initial locale identity and translation could not meet the same confidence bar; IANA/CLDR distinguish zgh Standard Moroccan Tamazight from tzm Central Atlas Tamazight

Validation

  • dictionary key and placeholder parity: app — 27 non-English locales × 995 keys
  • dictionary key and placeholder parity: UI — 27 non-English locales × 171 keys
  • dictionary key and placeholder parity: Desktop — 27 non-English locales × 21 keys
  • independent per-key source-backed review for every added locale and every existing non-English locale
  • git diff --check
  • typecheck intentionally not run; CI will provide repository-level validation

Known localization constraint

The current catalogs expose only one and other for several counters. Arabic, Bosnian, Polish, Russian, and other languages need additional CLDR plural categories for perfect grammatical coverage. Reviewers used count-neutral wording where practical; changing the plural schema is intentionally outside this translation-only PR.

Requested by: @Hona (Luke Parker via Slack)

@opencode-agent
opencode-agentBot changed the base branch from v2 to devAugust 4, 2026 03:16
@opencode-agentopencode-agentBot changed the title feat(desktop): add priority locale translationsfeat(desktop): expand and audit locale translationsAug 4, 2026
@Hona
Hona enabled auto-merge (squash) August 4, 2026 03:49
@Hona
Hona merged commit 0efa33c into devAug 4, 2026
12 checks passed
@Hona
Hona deleted the desktop-languages branch August 4, 2026 03:57
banlanzs pushed a commit to banlanzs/opencode that referenced this pull request Aug 6, 2026
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
charlesverge pushed a commit to charlesverge/opencode that referenced this pull request Aug 11, 2026
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
moonug pushed a commit to moonug/opencode that referenced this pull request Aug 19, 2026
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Hona