Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Fred Zip
Select language based on url [ reply ]  
2007-06-07 05:02
Hello,

(Please, bear me with me and my trivial question as I'm new to ror.)

How do I select the language that gloc must use for my entire website based on the url?

(For example, I want gloc to set_language :ja if the url is http://www.mywebsite.ja, set_language :en if the url is http://www.mywebsite.com, etc.)

Thanks,
Fred