Hacker News new | ask | show | jobs
by fnord77 1695 days ago
I've done a lot of i18n work in the past.

I found the hardest bit was managing the translation files, at least in Java. Java has a scheme where the you create files with key/value pairs of text id to translation. Instead of putting in text in your element "This is a button", you put in the text id "THIS_IS_BUTTON", and java's i18n would look for a properties file with a suffix of the current local and then pull the value for "THIS_IS_BUTTON".

It was enormously cumbersome for large apps