1
1

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?

asked 09 May '10, 20:16

tuan's gravatar image

tuan
26681212
accept rate: 100%


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

link

answered 09 May '10, 20:34

tuan's gravatar image

tuan
26681212
accept rate: 100%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×30
×22
×12

Asked: 09 May '10, 20:16

Seen: 713 times

Last updated: 09 May '10, 20:34

powered by OSQA