oups, I was not expected to copy past the whole file ...

My problem is the following ...
When people login I put in the session :
lang = <value of their prefered language>

When I use set lang, django sets
django_language = <selected value>

I now use "django_language" but ... is this the correct one to have
the translation working automatically ... ?

\T,


On Jun 30, 3:04 am, tsmets <[email protected]> wrote:
> To make your code more portable, I would suggest to have settings.py
> file as follow : see below.
> It is still unclear to me what needs to be done to catch up the
> language in my profile.
> Another issue I have is that all the languages are shown ...
> How to limit the number of languages to a sub-set (in my case :
> English / French / German / Dutch / Spanish (Catalan)).
>
> \T,
>
> ps : No way to add this to the group post through the interface...
> hence my mail directly to you (+ a cc to django-us...@googlegroup).
>
> On Apr 8, 12:51 pm, chr <[email protected]> wrote:
>
> > btw, here's the minimal-app:http://github.com/statesofpop/i18ntest
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to