|
I installed rosetta on my osqa application ( as written here http://meta.osqa.net/question/1696/how-to-use-rosetta-in-osqa-to-do-translations-through-a-web-interface), then I created a language pack called vi to start translating, then when I checked out the rosetta link on my website , the language vi (vietnamese) was not there? |
|
After a long explore with the help from dzone guys here, we figured out that django localization only support the languages that django is translated to ( a bit crazy right), it stated here: Locale restrictions Django does not support localizing your application into a locale for which Django itself has not been translated. In this case, it will ignore your translation files. If you were to try this and Django supported it, you would inevitably see a mixture of translated strings (from your application) and English strings (from Django itself). If you want to support a locale for your application that is not already part of Django, you’ll need to make at least a minimal translation of the Django core. http://docs.djangoproject.com/en/dev/topics/i18n/localization/#topics-i18n-localization So to solve the problem , we then went in to django/conf/global_settings.py, and just added vi as one of the language. Now i have vi as one of the language on rosetta list, happy translating. Thanks to the guys in dzone, osqa chat room is very helpful |