I'm working on a site that is using several languages. Obviously I want
to use the same set of packages, but would like a user to get the
appropriate language template. The normal way of doing this up till now
(before OI) was to have a different base language dir at the beginning, eg:
%docroot%/lang1
%docroot%/lang2
and then set the appropriate character set and similar according to this.
If I understand things correctly, this way is not really ok with OI,
because the first dir-like part of url determines the module part of
action and the rest is methods and params. There is the "redir" option
in actions that could be used as a way of getting the same module
regardless of language
( act_lang1 => {redir=>action},act_lang2 =>{redir=>action} )
, but how am I going to get the templates for the right language?
As I see, there is an language field in sys_user. Is this applied
somwhere and could this be used to determine the language preferences of
a user. Still, how do I cope witg getting the right templates out?
Tnx..
Jure
|