Re: Template translation

2008-11-12 Thread davidynamic
On Nov 11, 1:12 pm, "Antoni Aloy" <[EMAIL PROTECTED]> wrote: > I have such a problem once and it was solved adding the application in > the config file. > > On the other hand, I assume you have extracted thetranslationstrings > and you're using the right language in your browser, that is the > la

Re: Template translation

2008-11-11 Thread davidynamic
NVM. I figured it out the folder that contained the manage.py file from which i called the "makemessages" command was located on a folder below my templates. And I called it from within that directory. But since "makemessages" only runs over files in the directory in which it was called and all

Template translation

2008-11-11 Thread davidynamic
Are there any other settings required to make .po files for translation strings in templates besides adding {% load i18n %} to the top of the page. All my translation tags inside my views work fine and are loaded into the .po files but the template tags aren't working. I"m using both {% trans ""

Re: i18n strategy

2008-11-07 Thread davidynamic
to quote the django internationizaton documentation... "Using ugettext_lazy() and ungettext_lazy() to mark strings in models and utility functions is a common operation. " Getting data from your models requires you to place django.utils.translation.ugettext_lazy() functions within the arguments