Hi all,

After roaming through various blog posts and forums/discussion groups,
I just can't seem to find the "best way" to have a translated
application on GAE...

I'd like to have an application that automatically adapts itself to
the language that is sent in the headers by the client's web browser.
(You could also manually change the language, of course)
Retrieving the values should not be complicated (just get the value
from the headers, and do some processing on it to remove the "_FR"
part of "fr_FR", for example), however my question is more about the
technical implications of translation. And (REALLY important), I'd
like to be able to do that just with the standard App Engine API,
without having to install some kind of "Django on GAE" project that I
would need to test/support for an unknown duration...

Let me make some statements/questions:
- I suppose that the .po / .mo files that open source projects
traditionally use can not be used in the App Engine world?
- Would you have various template files for each languages (like a
contact.en.html, contact.fr.html, contact.nl.html, etc.) and use the
appropriate file depending on the language that has been detected from
the browser header?
- Would you use a single template file, but pass it the strings one by
one that you would retrieve from the datastore (ouch, just writing
this solution hurts!)

I'd like to hear if someone has successfully deployed a translated
application (links please), and if possible what solution you have
used.

(I'll just type in those 2 tags, if someone searches for it: i18n or
l10n )


Note: if you execute the following command from inside the GAE dev
server folder:
find | xargs -i grep -iH i18n \{\}
you will see that a lot of files contain the string i18n, and that all
are related to django. Does that mean that we could use standard
Django internationalization techniques, or is it just that Google <
forgot > to remove those files?
--~--~---------~--~----~------------~-------~--~----~
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 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to