Mar-15-2019, 09:24 PM
If you do real i18n, not toy applications, you should avoid building your own stuff.
For i18n support: locale, gettext and hopefully other tools are used.
gettext is very verbose. There are better tools.
For l10n there are graphical tools for translators. They load the po file, save the translations as pot (if I remind right) and then they give it back to the programmer. The programmer runs msgfmt to create the binary blobs for the domain.
To implement it by your own, you have to know much about languages. Russian people have different forms of plural.
Then every country has a different symbol for currency. Different date formats and timezones (pytz).
For i18n support: locale, gettext and hopefully other tools are used.
gettext is very verbose. There are better tools.
For l10n there are graphical tools for translators. They load the po file, save the translations as pot (if I remind right) and then they give it back to the programmer. The programmer runs msgfmt to create the binary blobs for the domain.
To implement it by your own, you have to know much about languages. Russian people have different forms of plural.
Then every country has a different symbol for currency. Different date formats and timezones (pytz).
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!