Re: /i18n/setlang/ broken?

2010-07-02 Thread tsmets
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 = When I use set lang, django sets django_language = I now use "django_language" but ... is this the correct one to have the translation working automatically

Re: /i18n/setlang/ broken?

2010-06-29 Thread tsmets
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

Re: /i18n/setlang/ broken?

2010-04-08 Thread Steve Holden
[facepalm] is much quicker and far less painful; -) On Apr 8, 2010 4:25 PM, "chr" wrote: hi rolando, yep, that fixed it. stupid me. i'll spend the next few hours hitting my head against the desk. thank you so much. cheers, chr On Apr 8, 5:44 pm, Rolando Espinoza La

Re: /i18n/setlang/ broken?

2010-04-08 Thread chr
hi rolando, yep, that fixed it. stupid me. i'll spend the next few hours hitting my head against the desk. thank you so much. cheers, chr On Apr 8, 5:44 pm, Rolando Espinoza La Fuente wrote: > On Thu, Apr 8, 2010 at 6:21 AM, chr wrote: > > btw, here's

Re: /i18n/setlang/ broken?

2010-04-08 Thread Rolando Espinoza La Fuente
On Thu, Apr 8, 2010 at 6:21 AM, chr wrote: > btw, here's the minimal-app: http://github.com/statesofpop/i18ntest Add LocaleMiddleware http://github.com/darkrho/i18ntest/commit/f12abc9a525da2ab9ae3fb3d9c12338bb3295c38 ~Rolando -- You received this message because you are

Re: /i18n/setlang/ broken?

2010-04-08 Thread chr
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 django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: /i18n/setlang/ broken?

2010-04-08 Thread chr
thanks for your quick reply. but no, i'm not using GET and for my minimal example app i've used the template snippet as provided in the django dev-docs. On Apr 8, 11:36 am, Baurzhan Ismagulov wrote: > On Thu, Apr 08, 2010 at 02:00:03AM -0700, chr wrote: > > a) switching

Re: /i18n/setlang/ broken?

2010-04-08 Thread Baurzhan Ismagulov
On Thu, Apr 08, 2010 at 02:00:03AM -0700, chr wrote: > a) switching languages using /i18n/setlang/ doesn't have any effect > anymore Are you per chance using it with GET? It isn't supported any more. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message

/i18n/setlang/ broken?

2010-04-08 Thread chr
hi everyone, just spent a few hours trying to find out what's going wrong with i18n... i've just updated a two-year old project (using django- multilingual-ng) to trunk only to find that a) switching languages using /i18n/setlang/ doesn't have any effect anymore b) putting an extra