Re: i18n and overriding django.auth translations

2014-09-03 Thread paul . connell
Well, it's a real situation - I removed the django.admin app from 
settings.py and then my translations worked - it's a basic occlusion - the 
django.admin translations seem to be used before my own translations when 
django.admin is enabled and my application has strings like 'Password' in 
them.

For now, as I'm not using the admin interface I've disabled it and it is 
now all my own translations, but some form of 'override' so that my app 
translations come before the django.admin builtin translations would be 
useful for future use.

On Tuesday, September 2, 2014 3:07:13 PM UTC+1, Avraham Serour wrote:
>
> is this a theoretical question or did you try and it is not working?
>
>
> On Tue, Sep 2, 2014 at 1:26 PM, > 
> wrote:
>
>> I've got some basic translations working in de_de (German), but it seems 
>> that django has brought it's own translations along for the ride after I 
>> compile.  I has not translated 'Password' in my locale files but DJango is 
>> doing it automatically (I assume from the django.admin module?).  That's 
>> fine, but is there a way to override this so that my translations in my 
>> locale files take precedence?
>>
>> So if my /locale/de_de/LC_MESSAGES/django.po file contains a translation, 
>> it overrides the default 'Passwort' that django is putting in?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/f5ba28a5-42ef-4cfa-a43b-19977440574b%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e9d2515c-2385-4c1b-8a0d-4be7e246ee7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: i18n and overriding django.auth translations

2014-09-02 Thread Avraham Serour
is this a theoretical question or did you try and it is not working?


On Tue, Sep 2, 2014 at 1:26 PM,  wrote:

> I've got some basic translations working in de_de (German), but it seems
> that django has brought it's own translations along for the ride after I
> compile.  I has not translated 'Password' in my locale files but DJango is
> doing it automatically (I assume from the django.admin module?).  That's
> fine, but is there a way to override this so that my translations in my
> locale files take precedence?
>
> So if my /locale/de_de/LC_MESSAGES/django.po file contains a translation,
> it overrides the default 'Passwort' that django is putting in?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f5ba28a5-42ef-4cfa-a43b-19977440574b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tJy%2BF2w7OXAsmUqY_hab7ssFD4UD2WEpVHHbR4E%2BAN1%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


i18n and overriding django.auth translations

2014-09-02 Thread paul . connell
I've got some basic translations working in de_de (German), but it seems 
that django has brought it's own translations along for the ride after I 
compile.  I has not translated 'Password' in my locale files but DJango is 
doing it automatically (I assume from the django.admin module?).  That's 
fine, but is there a way to override this so that my translations in my 
locale files take precedence?

So if my /locale/de_de/LC_MESSAGES/django.po file contains a translation, 
it overrides the default 'Passwort' that django is putting in?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f5ba28a5-42ef-4cfa-a43b-19977440574b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.