Hi,

I came to think what would be the best way to make site accessible with several languages..

Option 1:
Make a localeaction which saves locale information to session/request/whatever.


/info.html -> language depens on locale

Option 2:
Make locale available from URI:

/en/info.html
/fi/info.html
...

Option 3:
Keep locale in URL:

/info?locale=en
/info?locale=fi


What is best practise (or good) ..

I was thinking Option 1 would be nice, but how does proxys and caches know that language has changed? so perhaps option 2 would be nice, but then again, making links in XSLT is not that nice. and option 3 is ugly =)

What do you think?

- Joose

--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to