Wiadomość napisana w dniu 2008-10-16, o godz. 15:45, przez matei:

> You are right. I now know what happened to me and caused confusion. It
> appears to me django is taking the po files from the django admin so
> words like password and change were translated without me specifying
> my own .po .mo files. Not a preferable behaviour for some people
> maybe. Is it a setting? Im sure my values override it nicely but
> still..


If you want to get rid of Django-provided translations (these from  
django/conf/locale/<lang>), you have to turn off i18n completely by  
switching USE_I18N to False.

Anyway, I am not sure what happens if Django gets more that one  
translation for the same key (is there any order of preference?), I  
just never tried it.

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

Reply via email to