Hi,

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:

   1. I can easily maintain them and
   2. 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.

I understand I shouldn't keep my environment in the SCM, but that was the 
only (arguable) way I could keep my translation files in sync.

I also tried placing them at MY_PROJECT/blog/locale/es/LC_MESSAGES and 
MY_PROJECT/locale/es/LC_MESSAGES and none worked.

I just found out about LOCALE_PATHS and have not had a chance to test this 
but my concern with this solution however, is whether or not I'll have to 
translate everything (django, mezzanine and all apps) when I'm just 
literally changing a couple of words found in one application.

Any and all comments are very welcome.

Thanks a lot in advanced

-- 
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/2db52e61-6b52-4326-bf49-0876f6a3c52a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to