I made a script that fails my deploy if any English is left in my Arabic, Thai or Turkish pages
Nov 10. 25 commits. Regista XI is in 8 languages. Translating once isn't the hard part. Keeping all 8 true as the site changes is. Problem: pages kept shipping with English left in them, and Arabic numbers broke inside
Nov 10. 25 commits.
Regista XI is in 8 languages. Translating once isn't the hard part. Keeping all 8 true as the site changes is.
Problem: pages kept shipping with English left in them, and Arabic numbers broke inside right-to-left text.
Fix: npm run check:i18n. It audits dictionaries, rendered server pages, React pages and hard-coded strings. I run it before every deploy. Then all 7 other languages got a full pass: game text (PlayStyles, traits, skills, nations), one term per concept, no English left.
Then two QA passes (board#82), one on card and tool pages, one on Squad Reader, Builder and Codes:
→ The advisor rank table now fits phones.
→ Arabic point plurals fixed.
→ Tap targets at least 44px.
→ Wrong-player guesses in the Reader are sensible, with a bottom sheet to fix one.
→ A shared squad opens as a full read-only page.
Search got faster to use too. Card search starts from the first letter, ranked by who people search for, and picker rows show the program so two versions of one player can be told apart.
6 branches from parallel worktrees were merged back that day.
If a rule matters, make a script enforce it.
buildinpublic #i18n #rtl #qa #webdevelopment
From the build journal of abdulwasaylodhi.com.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.