News for hackers. Stuff that matters.
Re:Was Localizing Defender's Quest Worth It? by pixelcort on Wednesday August 13, 2014 @07:30PM (#8175465)
Another simple benefit to localization is that it can make it easy to fix typos or reword things in your native language, too, if you use short keys in your code and have all real strings in a single place.

Even if you don't plan on localizing, it's a good habit to move all your strings to one place like this, as you can quickly see in one place if all of your strings have consistent tone, style, and word usage.

Re:Was Localizing Defender's Quest Worth It? by azernik on Thursday August 14, 2014 @02:41AM (#8176329)
You're referring to the process of internationalization, which is usually treated as a separate process from localization.

Internationalization is making it possible to swap out language-specific assets at runtime (which is what Lars points to as the difficult part of this which can be carried over to other projects); localization is the process of actually making those language-specific assets. Internationalization is done by spending (usually in-house) programmer time; localization is about throwing money at (usually outsourced) translators.

Re:Was Localizing Defender's Quest Worth It? by Kiro on Thursday August 14, 2014 @03:15AM (#8176399)
I don't like using short keys. Another thing you need to come up with a name for. I much rather have the English phrase as the "key".
Re:Was Localizing Defender's Quest Worth It? by JW_00000 on Thursday August 14, 2014 @05:12AM (#8176644)
But what then when you fix a typo in your English text? Or slightly rephrase it without altering the meaning? This means the translation files have to be updated as well.
Re:Was Localizing Defender's Quest Worth It? by smackfu on Thursday August 14, 2014 @08:03AM (#8177036)
OTOH, systems where it is very easy to change only the English text without even thinking about the translations have their own pitfalls. Namely that people make "tweaks" and the translations go out of sync.
Re:Was Localizing Defender's Quest Worth It? by ygra on Thursday August 14, 2014 @05:32AM (#8176677)
Or you have an en → en translation file. For some things this is necessary anyway (e.g. QTranslator's handling of plural forms).
Re:Was Localizing Defender's Quest Worth It? by blt on Thursday August 14, 2014 @10:54AM (#8177772)
+1. en → en translation file is common practice.