Thanks for your reply. I used makemessages and compilemessages. The path in the project is correct - the fault was just in my question.
On 17 Mai, 16:25, Ramiro Morales <cra...@gmail.com> wrote: > On Sun, May 16, 2010 at 7:46 PM, lenz <lenz.hir...@web.de> wrote: > > The Django docs tell that it is possible to "overridebase > >translationsin your project path" but i have no idea how this works. > > > I tried to copy the some contents of an third party apps django.po to > > the django.po file of the project but i see no change after compiling. > > > To me it seems obvious that it could not work because the path of the > > entry is wrong if copied to the projects django.po > > > This is one of the statements i copied from APP/locale/LANG/django.po > > th PROJECT/locale/LANG/django.po > > Maybe because you aren't actually following the documentation? > I quote from the same document: > > http://docs.djangoproject.com/en/1.1/howto/i18n/#using-translations-i... > > " > All message file repositories are structured the same way. They are: > > * $APPPATH/locale/<language>/LC_MESSAGES/django.(po|mo) > * $PROJECTPATH/locale/<language>/LC_MESSAGES/django.(po|mo) > [...] > " > > You are missing the standard GNU gettext LC_MESSAGES directory part. > > Also you need to compile the .po to .mo file if it doean't exit. The > documentation > also describes that task. > > The path of the entry has no effect, it is a comment to be read by humans and > has no influence in the final compiled .mo message file. > > -- > Ramiro Morales | http://rmorales.net > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.