On Mon, Jan 3, 2011 at 3:05 AM, Isaac XxX <vyrp...@gmail.com> wrote: > Recently, i've found a problem with i18n translations in Django. > > All my translations are located inside views functions, templates and some > of them are in a file called forms.py (where i store some of my forms). > > The problem arise when I render that forms. First render time, seems that > locale is applied, but next times the same locale is displayed again, > without beign able to change it through locale selector. The rest of > translations are behaving correctly. Any clue about what's happening with > translations outside of views and templates files? > > Forms would be a likely place where you will need to be using lazy translation ( http://docs.djangoproject.com/en/dev/topics/i18n/internationalization/#lazy-translation). If you are not, that may be the problem.
Karen -- http://tracey.org/kmt/ -- 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.