L10N support on Wiki
|Reported by:||shawn||Owned by:||Christian Boos|
My project is using trac. And all the project documents is in the wiki sub system. I'm dreaming of the following functionality that supporting L10N on wiki pages. For example, the HotTo wiki page. We can store them in different languages as following. /wiki/HowTo /wiki/HowTo/en_US /wiki/HowTo/zh_CN If my browser's prefer language is zh_CN and the HowTo/zh_CN exists, wiki page will render the chinese version of HowTO page to me automatically.
If no such language exists in the wiki, just fall back to the default language.
The default language should be configurable in trac.ini and when the author creates the trac page without locale specified, the default language will be used.
In the wiki render result page, there should be links available for other languages. So that user can just click to switch the language instead of type in the language suffix manually.
Because I'm not familary with python, so hope some trac/python expert can implements this. It should not be very difficult I think. At least if trac is written in java, I'm pretty sure it is very easy to to so. :)