You can place a new .po file in a `locale` folder of one of your INSTALLED_APPS.
This will be picked up, and can override the locale of mezzanine,
if your app is placed before mezzanine in INSTALLED_APPS.

Off course, run django-admin.py compilemessages in the root folder where the 
`locale` folder exists,
so the .mo file also exists and restart the runserver afterwards.

Greetings,
Diederik


Op 9 okt. 2013, om 08:41 heeft Anton Melser <melser.an...@gmail.com> het 
volgende geschreven:

> I'm giving my first steps with python/django/mezzanine so please bear with me.
> I modified a translation file of the mezzanine's blog application and 
> compiled it OK. Mind you: I literally only modified a couple of words and 
> left the rest intact.
> 
> The only place I found out I could place them in order to test was at the 
> blog app's locale folder 
> (~/MY_VIRTUAL_ENV/lib/python2.7/site-packages/mezzanine/blog/locale/es/LC_MESSAGES).
> 
> It worked fine, but my guts tell me there has to be a better way so I can 
> have this file(s) in some other location WITHIN my own mezzanine application 
> so:
> 
> I can easily maintain them and
> I don't have to keep my whole virtual environment in my SCM's repository.in 
> order to keep track of this single file with just a couple or words modified 
> and that will hardly ever get modified again.
> Great minds think alike? :-). I am in *exactly* the same situation - there 
> are a couple of translations I would like to change slightly in Mezzanine (a 
> capitalisation here, pluralisation there) and I had exactly the same thought. 
> I don't want to have to maintain something completely separately. Did you 
> find an elegant solution?
> 
> 
> -- 
> 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/80e29974-637f-49d4-83e8-f176829cb18e%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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/5568572E-18F0-4147-AE21-B6C5BAE54598%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to