[Grok-dev] Chameleon and i18n
Sylvain Viollon
sylvain at infrae.com
Tue Feb 9 09:38:57 EST 2010
On Tue, 9 Feb 2010 15:23:12 +0100
Souheil CHELFOUH <trollfot at gmail.com> wrote:
Hello,
> I think that the request language is not taken by default so it's
> always considered as english.
> You can have a look here :
> http://chameleon.repoze.org/docs/latest/i18n.html Have a look at the
> i18n:target.
>
>
Or you can set target_language in your namespace on your view:
def namespace(self):
return {'target_language': 'fr'}
Best regards,
Sylvain,
--
Sylvain Viollon -- Infrae
t +31 10 243 7051 -- http://infrae.com
Hoevestraat 10 3033GC Rotterdam -- The Netherlands
More information about the Grok-dev
mailing list