Hello,

I'm working on an App Engine (using the Django helper) application
that is to be presented in a number of different languages, and
routing is managed primarily by cookie. The app is serving the correct
pages in most cases, but a few languages default back to English,
despite the cookie being set (and corresponding to the language code
in the locale folder).

Here's a snippet from the settings.py file:

LANGUAGES = (
    ('en', 'English'),
    ('en_gb', 'English_GB'),
    ('cn', 'Simplified_Chinese'),
    ('b5', 'Traditional_Chinese'),
    ('cn_hk', 'Chinese_HK'),
    ('de', 'German'),
    ('es', 'Spanish'),
    ('fr', 'French'),
    ('it', 'Italian'),
    ('ja', 'Japanese'),
    ('ko', 'Korean'),
    ('nl', 'Dutch'),
    ('pl', 'Polish'),
    ('pt_br', 'Portuguese'),
    ('ru', 'Russian'),
    ('th', 'Thai'),
    ('tr', 'Turkish'),
)

The cookies being set match that language set exactly, as do the
locale folders containing the .mo and .po files.
The languages that aren't working are:

- Simplified Chinese
- Traditional Chinese
- Hong Kong Chinese
- Thai
- Korean

The Chinese codes differ from the ISO standard, but the Korean and
Thai ones do not.

Any idea why Django would exhibit this sort of selective routing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to