Wiadomość napisana w dniu 2008-10-21, o godz. 07:46, przez bluefireredsky:
> I am implementing an i18n for a web application. The customer requires > support for certain Indian languages such as Hindi and Tamil. I had > refered to http://www.i18nguy.com/unicode/language-identifiers.html > for identifying the respective language codes. I am not able to get it > working for Hindi, however Tamil works. Based on the above URL, the > language code for tamil should be "ta-IN" and for hindi it should be > "hi". For tamil, ta-IN does not work, but it works when i specify just > "ta". I am unable to get it to work for hindi with either "hi" or "hi- > IN". My languages in the settings.py file is as follows: > > gettext = lambda s: s > > LANGUAGES = ( > ('en', gettext('English')), > ('ta', gettext('Tamil')), > ('hi-IN', gettext('Hindi')), > ) > > My folder structure on the locale is as follows > > locale\en\LC_MESSAGES > locale\hi-in\LC_MESSAGES > locale\ta\LC_MESSAGES > > Any suggestions? I suppose there is no Django translation for the language you cann't get to work. There is "ta" translation, but not "hi". You might want to check this list, the translations are located in your <django_root>/ conf/locale directory. -- We read Knuth so you don't have to. - Tim Peters Jarek Zgoda, R&D, Redefine [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---