2008/9/30 Malcolm Tredinnick <[EMAIL PROTECTED]>:
>
>
> On Mon, 2008-09-29 at 22:46 -0700, krylatij wrote:
>> I have Django site in 2 languages - Moldavian(default) and Russian
>> But django-admin is not localized for Moldavian, that's way i want to
>> use Russian in admin.
>> So my settings.py will look like this:
>>
>> LANGUAGE_CODE = 'md'
>>
>> LANGUAGES = (
>>     ('md', (u'Moldavian')),
>>     ('ru', (u'English')),
>> )
>>
>> But django looks for translation for "md" in admin  - can't find it
>> and uses English
>> Does exists simple way to tell Django - allways to use Russian for
>> admin.
>
> No. Django's designed to work in only one locale at a time, not to have
> fallbacks like that. Fallbacks don't really make sense for websites that
> are properly translated (mixing multiple languages just because the
> translation isn't complete would be very confusing to the users).
>
> The "real" solution here is to give us a Moldovan translation for Django
> itself. :-)

You can copy the russian translation files overwriting english


-- 
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net

SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928

Rispetta l'ambiente: se non ti è necessario, non stampare questa mail

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to