Cheers fellow developers,

in our application we would like to include a language code in the URL's
of at least some resources, mainly for SEO reasons (Google should index
several language versions of the same page so users can find them). Our
ultimate choice for a scheme looks like this:

/foobars/123.en.html
/foobars/123.fr.html

This displays neatly what it's all about: in contrast with a choice like
/en/foobars/123.html it correctly suggests that these URL's are not
pointing to entirely different kinds of resources but variants of the
same one. It also *seems* to be easier to achieve by a generic, DRY
solution.

My question is: *is this somehow possible without major tweakings in
Rails internals?* I'd also note that we would like to avoid external
rewriting for obvious portability reasons.
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to