cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joose Vettenranta <jo...@iki.fi>
Subject Good practise for international site (URI-designing)
Date Mon, 16 Aug 2004 09:06:40 GMT
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/ * joose@iki.fi * +358 44 561 0270 *


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message