Displaying 2 results from an estimated 2 matches for "translate_routes".
2009 Jul 04
0
add a new locale using raul's translate_routes plug-in
I just started using Raul Murciano''s translate_routes plug-in. It''s
great. Now what I can''t understand is how to add a new locale (in my
case, French). I figured that I could just add a new section to my
translation file (text.yml). I appended the following to the text.yml
file:
fr:
back: retourner
Then in my application layout (...
2010 Apr 27
4
Translated (language-aware) routes in Rails application
Hi,
I''d like to have translated languate-aware routes in my application,
like:
/projects/5/permissions => locale "PL"
/projekty/5/pozwolenia => locale "PL"
Is there any way to achieve it with RESTful routes? I have done it
manually with named routes, but it''s overwhelming with over 300
routes :D Also tried namespace (yeah, didn''t work) and