[Showoff Saturday] My website now supports 28 fully localized languages
I finally shipped it.
Spent the last 2 weeks building a proper translation pipeline for a JS/PHP/HTML app. JS and PHP were easy with standard gettext tooling. HTML was the real nightmare. You know, rich text, links, bolds, nested HTML... And all had to work with AI translator reliably.
HTML translations are not just "replace string A with string B". You need:
- translation context
- surrounding sentences so translators understand intent
- translator comments
- support for wildly different word order
- rich-HTML layouts that survive both tiny and huge translated text
Tons of small things like this one, see how translation for a homepage badge varies from language to language?
<small>Since</small> <b>2015</b>
<small>自</small><b>2015</b><small>年起</small>
<b>2015</b> <small>óta</small>
Same meaning. Different structure.
Then comes the fun part:
- extracting all translatables from mixed HTML/JS/PHP
- feeding dictionaries into AI
- checking that AI did the job right
- compiling translations back safely
- not destroying the UI in the process
Add a language. Run one command. Entire app translated.
Seeing months of internationalization pain collapse into a single command feels slightly unreal.
🇨🇿 🇺🇸 🇨🇳 🇯🇵 🇩🇪 🇰🇷 🇫🇷 🇮🇱 🇵🇱 🇷🇺 🇪🇸 🇮🇳 🇮🇩 🇺🇦 🇮🇹 🇵🇹 🇳🇱 🇸🇪 🇹🇷 🇻🇳 🇹🇭 🇷🇴 🇭🇺 🇩🇰 🇫🇮 🇦🇪 🇳🇴 🇬🇷