From: Chris W. <ch...@cw...> - 2003-10-30 15:45:02
|
As I recently mentioned on the -help list I hope to be doing some work in the near future to give i18n support to OI2. This would come in two fashions: * be able to navigate to a particular page in the document tree based on language. So you'd have something like: /en/about/company.html /ru/about/company.html And a user requesting: http://mysite/about/company.html would get directed to the right page based on browser or session or user settings. One of the reasons I think the '/lang/...' setup is useful is security -- you can setup the '/ru/...' tree so your Russian folks can have WRITE access only to their docs, the '/es/...' tree so your Spanish folks can do their thing, etc. * message bundle-type functionality so you can setup a file (or database table, or whatever) of keys for substitution in your templates: # use a key with variable substitution <h1>[% msg( 'company.welcome', 'Optiron' ) %] # use a key by itself <p>[% msg( 'company.intro' ) %]</p> If you've got experience in this area please chime in with ideas. Later, Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |