Get the latest tech news

Implementing UI translation in SumatraPDF, a C++ Windows application


How I implemented a system for translating strings to many languages in SumatraPDF, a C++ Windows application

I automated everything so that all I need to do is to periodically re-run the script that extracts strings from source code, uploads them to AppTranslator and downloads latest translations. I’ve considered downloading the latest translations from the server, in addition to embedding them in an executable at the time of building the app. XML doesn’t solve the 2 hard problems and a string storage format is an absolute nightmare for human editing.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of translation

translation

Photo of SumatraPDF

SumatraPDF

Related news:

News photo

Apple blocks translation AirPods in EU over regulatory concerns

News photo

Lost in translation - How Africa is trying to close the AI language gap

News photo

AirPods Pro 3 Said to Gain Two Health Sensors, But Translation Delayed