[Catalyst] Language selection in URLs

Bill Moseley moseley at hank.org
Sun Nov 15 15:06:54 GMT 2009

What's your preferred approach to specifying a language tag in a URL?  Is
there strong argument for one over the other?

http://example.com/en_us/path/to/some/index.html # language prefix


Are pages in different languages different resources or different versions
of the same resource?

Obviously, the prefix is easier if you use relative URLs, but uri_for makes
adding the query parameter easy.  Although, probably could argue that the
prefix approach is more efficient than wrapping uri_for for every generated

-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20091115/c13d7=

More information about the Catalyst mailing list