search for: my_fav_lang_dirname_in_po_directory2

Displaying 2 results from an estimated 2 matches for "my_fav_lang_dirname_in_po_directory2".

2006 Jan 05
0
I found a way to dynamically switch languages in your rails app -- look at it and give your opinions
...etc flash[:notice] = ''my_fav_lang language selected.'' redirect_to :action => ''list'' #redirect the page end else if @params["post"]["lang_id"] == "my_fav_lang2" cookies[:lang] = { :value => "my_fav_lang_dirname_in_po_directory2"} flash[:notice] = ''my_fav_lang2 language selected.'' redirect_to :action => ''list'' end end Step 7) thats it that does it. you select your language and click go , you get a reloaded page with your favorite language. NOTE: IT WORK...
2006 Jan 05
0
I found a way to dynamically switch languages in your railsapp -- look at it and give your opinions
...etc flash[:notice] = ''my_fav_lang language selected.'' redirect_to :action => ''list'' #redirect the page end else if @params["post"]["lang_id"] == "my_fav_lang2" cookies[:lang] = { :value => "my_fav_lang_dirname_in_po_directory2"} flash[:notice] = ''my_fav_lang2 language selected.'' redirect_to :action => ''list'' end end Step 7) thats it that does it. you select your language and click go , you get a reloaded page with your favorite language. NOTE: IT WOR...