I used to use /i18n/setlang?language=zh-cn approach to change language. However i found that the latest (as of this writing 20th Sept, 2007) svn version django do not support calling the url using GET, and there is a sentence in the function set_language in the i18n.py file
"Since this view changes how the user will see the rest of the site, it must only be accessed as a POST request." The django website shows an example of using the convenient setlang function and the url is: http://www.djangoproject.com/documentation/i18n/#the-set-language-redirect-view This example is good to demonstrate the power of the function, but the usability is not as good as its functionality. Imagine the user don't even know English. So, the user don't know even he/she should click on the selection box and select. So i use my own way showing "English | 中文 | 日文 | Français" and hyperlinking each language to corresponding setlang URL. For example, setlang?language=fr for Français. I don't know why the developers change like that, and if there any one can, please tell me the consequences of using GET (by modifying the set_language function by myself) Arnold --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---