Skip to content

Language Expansion Policy

Cavanshirpro edited this page Sep 20, 2026 · 2 revisions

Language Expansion Policy

Documentation can prepare a language before the application runtime supports it, but the two states are intentionally separate.

Runtime admission criteria

A new application language requires source integration, not only a Wiki page: language code/name in LanguageManager, supported-code handling, QRC translation resource, valid JSON, key/placeholder review, runtime switching, UI layout/font testing and appropriate RTL/CJK checks. The change must also preserve English/source fallback.

Documentation admission criteria

A documentation language receives all 20 core page IDs, a language Home, explicit runtime-support status, source-pinned technical semantics and no fake placeholder pages. A language can be planned-not-v0.7.0 while its Wiki documentation is complete draft.

Locale naming

Current runtime normalizes dashes to underscores, lower-cases values, maps Chinese variants to zh_cn/zh_tw, and generally reduces other longer locale values to a two-letter prefix. Region-specific expansion outside that model requires code design, not only renaming Wiki files.

Promotion from planned to runtime-supported

Update source first, verify build/resource inclusion and runtime behavior, then change Wiki/config status. Do not promote status based on intent or a translation file that is not actually wired into the application.

Removal/deprecation

Removing a language should consider saved user preference, fallback behavior, package locales and historical docs. Prefer a migration/fallback path rather than leaving users stuck on an unsupported locale code.

Clone this wiki locally