[Catalyst] Re: Language selection in URLs

Michele Beltrame mb at cattlegrid.info
Wed Nov 18 08:40:01 GMT 2009


Hello!

>> why shouldn't you use domain as the part of the language? like
>> en.example.com, cn.example.com and something like that?
>>
>> Thanks.
>>
> Because each sub-domain would require another SSL key (or a special
> group SSL key that can be used with more subdomains.

Moreover, I don't see that great advantage (not even in elegance) in using:

http://en-gb.mysite.com/resource/list

instead of:

http://mysite.com/en-gb/resource/list

If you're using the Chained dispatching, it's very straightforward to 
map the secondo URL to a language.

Michele.

-- 
Michele Beltrame
http://www.italpro.net/ - mb at italpro.net
Skype: arthas77 - Twitter: _arthas



More information about the Catalyst mailing list