Repository navigation
feat(i18n): add Traditional Chinese (zh-TW) locale - #1745
Merged
Merged
Conversation
Add a full zh-TW locale translated from English with Taiwan terminology, including main/messages catalogs, counts/dates entries, i18n routing (Option A: zh_TW/zh_HK/zh_MO/zh-Hant -> zh-TW), desktop entry, typos config, tests, and docs. Closes lgse#1613
l0gicgate
added a commit
to lgse/strata-website
that referenced
this pull request
Oct 18, 2026
Strata gains a zh-TW locale (lgse/strata#1745), bringing the interface to 12 languages. List it after Simplified Chinese, matching the app's own order and label, and update the FAQ and test count.
Lists join with 、 and durations drop the space between digits and Han, as the zh-TW style notes require; the tests had expected Simplified output for zh-TW counts and durations. Unlisted Chinese regions such as zh_MY fall back to Simplified Chinese again instead of English.
The catalog coverage test requires every installer string in every locale. The Bash installer now routes zh_TW, zh_HK, zh_MO and zh-Hant to zh-TW, matching the application.
Contributor
|
Thanks for the translation, @a-lang. The catalogs read well and have no Simplified characters. I merged Fixes
Local verification (scoped: catalogs, locale routing, installer)
Not changed
CI for this fork is waiting for maintainer approval. |
This was referenced Oct 18, 2026
This was referenced Oct 18, 2026
l0gicgate
added a commit
that referenced
this pull request
Oct 20, 2026
…ompat-followups Resolves the catalog, services, preview test, context menu, theme and typed-navigation conflicts, and adapts what main added since the fork to this branch's rules: - The user stylesheet (#1758) is watched through the monitors worker and re-read off the UI thread. - The Diagnostics page (#1735) and the Integrations page (#1748) detect the package manager and resolve the terminal off the UI thread; the Run-in-terminal button spawns through the reaper closure. - Connect to server (#1726) waits for a native path's asynchronous validation instead of pinning and closing at once. - The pinned-places tests read the GTK bookmarks file through adapters::bookmarks after the settings writer settles. - Traditional Chinese (#1745) gets the strings this branch adds.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a full Traditional Chinese (zh-TW) locale to Strata, translated from the English source with Taiwan terminology (not converted from zh-CN). Implements the Option A routing decided in #1613:
zh_TW,zh_HK,zh_MO, andzh-Hant…locales resolve tozh-TW;zh_CN,zh_SG,zh-Hans…, and barezhstay onzh-CN. Also updates catalogs, counts/dates, desktop entry, typos config, tests, and docs.Visual evidence
N/A — this is a non-visual i18n/catalog change; no UI layout or styling is modified. Language selector gains a 正體中文 entry.
How to test
LANG=zh_TW.UTF-8(orzh_HK/zh-Hant) and confirm auto-detect picks zh-TW;zh_CNstays Simplified../scripts/test-headless.py i18n::,language_,util::tests,ui::settings::tests::general,ui::settings::search::tests.Expected result: all listed tests pass; UI fully translated with no missing keys or placeholders.
Related issue
Closes #1613