Hi Waldemar,

- "LANGUAGE_CODE = 'fr-FR' ".

To do this I need to have django, but my intent is to try to make i18n
work with google app engine without django nor google app engine
django helper. (I had trouble with django 1.0 and you cannot run
"manage.py update" with 0.96, so I'll be waiting 1.0 compatibility of
gae).

It seems like google developpers thought of i18n with file :
/google_appengine/lib/django/django/conf/global_settings.py

# Languages we provide translations for, out of the box. The language
name
# should be the utf-8 encoded local name for the language.
LANGUAGES = (
    ('ar', gettext_noop('Arabic')),
    ('bn', gettext_noop('Bengali')),

So, they said out-of the box but it is not working.
Event if you follow django tutorial for i18n.

Has anybody succeded in making this process of translation "out of the
box" working as they say... ?

Regards,

Pierre


On 6 sep, 10:59, Waldemar Kornewald <[EMAIL PROTECTED]> wrote:
> Hi Pierre,
>
> On 6 Sep., 00:34, 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
> > - load i18N in template page
> > - {% trans "Hello World" %}
>
> > -> should give "Bonjour le monde" but nothing happens.
>
> > Missing something ? Any idea ?
>
> I haven't yet tested i18n on the production server, but it runs fine
> with Django 1.0 and dev_appserver. In order to find the source of the
> problem please try to remove the localization middleware and instead
> set the preferred language manually in your settings:
>
> LANGUAGE_CODE = 'fr-FR'
>
> Bye,
> Waldemar Kornewald
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to