|
Re: [Rails I18n] GLoc: how to "reload" the translations and a suggestion: msg#00016lang.ruby.rails.i18n
Hi, In development mode, the strings are automatically reloaded anytime one of the string bundle files are updated (it uses the timestamp to check). About how to install GLoc, i will be sure to include installation instructions in the README in the next version. You simply extract gloc in to a subdirectory in vendor/plugins. You don't need to add any require statements to you environment.rb because rails will automatically run vendor/plugins/gloc/init.rb. Here is an example of what I do add to my environment.rb though (for a en/ja webapp): GLoc.set_config :default_language => :ja GLoc.clear_strings_except :en, :ja GLoc.set_charset :utf8 GLoc.set_kcode Hope that helps + glad u like Gloc. ;-) Golly
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [Rails I18n] Making Globalize work with Oracle (HowTo), Joshua Harvey |
|---|---|
| Next by Date: | [Rails I18n] Globalize and acts_as_versioned, Eli Kroumova |
| Previous by Thread: | [Rails I18n] Making Globalize work with Oracle (HowTo), Martin Bernd Schmeil |
| Next by Thread: | [Rails I18n] Globalize and acts_as_versioned, Eli Kroumova |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |