You are correct Nis...in django.utils.translation.trans_real.to_locale. No idea why the two need be any different...
On Sep 13, 10:02 am, Nis Jørgensen <[EMAIL PROTECTED]> wrote: > Ryan K skrev:> Hi. I have a few languages I've translated my site into. They > all work > > except Simplified Chinese. Any hints as to why? > > Try being more specific than "does not work". Do you see English, > garbled characters, something else?> This is in my settings file: > > > LANGUAGES = ( > > ('es', ugettext('Spanish')), > > ('fr', ugettext('French')), > > ('it', ugettext('Italian')), > > ('ru', ugettext('Russian')), > > ('zh-cn', ugettext('Simplified Chinese')), > > ) > > > And the .po and .mo files are under the zh-cn directory (in locale). > > In my installation, the directory is called zh_CN, not zh-cn. zh_CN is a > locale-specification, zh-cn is a language specification. I am not sure > which one is correct, but there definitely is code in django which > translates from one to the other. Try renaming (or symlonking) to zh_CN > and see if this helps. > > Nis --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---