Skip to content

Create zh_TW.po - #199

Merged
IPedrax merged 1 commit into
IPedrax:mainfrom
yoyomaimai:patch-1
Nov 3, 2026
Merged

IPedrax merged 1 commit into
IPedrax:mainfrom
yoyomaimai:patch-1

Conversation

@yoyomaimai

Copy link
Copy Markdown
Contributor

The Traditional Chinese language family has been added. Thank you.

The Traditional Chinese language family has been added. Thank you.
@dronov-dmitry

dronov-dmitry commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Hi @yoyomaimai,

Thanks again for the Traditional Chinese translation. The Linux check on this PR fails in cargo i18n check, and the reason is easy to fix.

Video: https://youtu.be/cG_W3jrOxDE

translations/ui/zh_TW.po was made from an older template. Since then 18 English msgids changed in the source:

  • ‧ became • in 17 bullet messages,
  • poche became poché in the detail-level message,
  • Volume (m3) became Volume (m³).

The translations themselves are fine — only the old English keys are no longer in the source, so the check stops. Windows and macOS are green because that step runs only on Linux.

I prepared a fix that keeps all your translations and also makes Traditional Chinese selectable in the app (Lang::ChineseTraditional, code zh_TW). A .po file alone is not enough for the language to appear in Settings:

yoyomaimai#1

Easiest way — no command line needed

  1. Open Fix the zh_TW catalog and expose Traditional Chinese yoyomaimai/BIMCraft#1
  2. Click the green Merge pull request button, then Confirm merge.
  3. That is all. Your patch-1 branch gets the fix, and PR Create zh_TW.po #199 updates automatically.

Then come back to PR #199, open the Checks tab and wait for the Linux job to turn green. Please don't close #199.

If you prefer the command line

git clone https://github.com/yoyomaimai/BIMCraft.git
cd BIMCraft

git checkout patch-1
git pull origin patch-1

git remote add dronov-dmitry https://github.com/dronov-dmitry/BIMCraft.git
git fetch dronov-dmitry
git merge dronov-dmitry/fix/pr199-zh-tw

git push origin patch-1

No conflicts are expected — the fix PR is reported as mergeable.

For future translation updates

  • Start from the current translations/ui/bimcraft-ui.pot in main.
  • After pulling main, run cargo i18n update before editing translations. This removes obsolete keys and refreshes references.
  • Run cargo i18n check before pushing — it is exactly what CI runs.
  • It is fine to leave some entries untranslated: missing strings fall back to English. Do not rename or delete msgids by hand.

If something is unclear, ask here and I will help.

@IPedrax
IPedrax merged commit 1a35e48 into IPedrax:main Nov 3, 2026
4 of 5 checks passed
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.

3 participants