Displaying 2 results from an estimated 2 matches for "scffold".
Did you mean:
scaffold
I found a way to dynamically switch languages in your rails app -- look at it and give your opinions
2006 Jan 05
0
I found a way to dynamically switch languages in your rails app -- look at it and give your opinions
...g Gettext To Translate Your Rails
Application as it is.
Step2)Now create a table in your project database to store your language
names which you are supporting in the project for example "langs"
step 3)populate your table with language names, namely hindi, japanes etc.
step 4) create a scffold for with aLang controller, just so that life is
easy.
step 5)now in your layout directory edit the <appname>.rhtml , place a code
to select the language
<%= start_form_tag :action => ''lang_switch'' %>
<%= select ("post","lang_id",Lang.find_all...
2006 Jan 05
0
I found a way to dynamically switch languages in your railsapp -- look at it and give your opinions
...Gettext To Translate Your
Rails Application as it is.
Step2)Now create a table in your project database to store your language
names which you are supporting in the project for example "langs"
step 3)populate your table with language names, namely hindi, japanes
etc.
step 4) create a scffold for with aLang controller, just so that life is
easy.
step 5)now in your layout directory edit the <appname>.rhtml , place a
code to select the language
<%= start_form_tag :action => ''lang_switch'' %>
<%= select ("post","lang_id",Lang.find_al...