On Sep 6, 1:58 pm, Pierre <[EMAIL PROTECTED]> wrote:
> Hi Takashi,
>
> I did it in Myapplication/setting.py, then restart server but
> translation isn't working.
Me too. I do exactly the same as Pierre. But I only get original text,
not the translation one. Any hint?
>
> ? ~~~
>
> Pierre
>
> On 6 sep, 04:24, "Takashi Matsuo" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > Perhaps you can use django.middleware.locale.LocaleMiddleware.
> > Check your settings.py.
>
> > Here are my MIDDLEWARE settings:
>
> > MIDDLEWARE_CLASSES = (
> > 'django.middleware.common.CommonMiddleware',
> > 'django.middleware.locale.LocaleMiddleware',
> > # 'django.contrib.sessions.middleware.SessionMiddleware',
> > # 'django.contrib.auth.middleware.AuthenticationMiddleware',
> > # 'django.middleware.doc.XViewMiddleware',
> > )
>
> > Regards,
>
> > -- Takashi Matsuo
>
> > On Sat, Sep 6, 2008 at 7:34 AM, Pierre <[EMAIL PROTECTED]> wrote:
>
> > > Just to be more precise, here's what I've already done :
>
> > > - create "locale" folder
> > > - run make-message.py -l fr
> > > - edit django.po to change charset and translate strings
> > > - run compile-messages.py -l fr
> > > - loadi18Nin template page
> > > - {% trans "Hello World" %}
>
> > > -> should give "Bonjour le monde" but nothing happens.
>
> > > Missing something ? Any idea ?
>
> > > Pierre
>
> > > On 4 sep, 22:57, Pierre <[EMAIL PROTECTED]> wrote:
> > >> Hi,
>
> > >> Has anybody succeed in gettingi18nworking with gae ?(if yes, it
> > >> could be useful to create some kind of tutorial because I haven't
> > >> found much litterature about it when googling).
> > >> I thought it could be working with django and I installed django gae
> > >> helper to use it but no success.
>
> > >> Is it possible to create ani18napp with out of the box google app
> > >> engine install ?
>
> > >> Kind regards, merci, danke shöne ;-)
>
> > >> Pierre
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---