2008-12-09から1日間の記事一覧

i18n_generators で jaとenはOK、thとzhはNG

日本語と英語の設定ファイルは生成できたのに、タイ語と中国語はエラーになっちゃう。 i18n_generator_example$ rm config/locales/th.yml i18n_generator_example$ ruby script/generate i18n th -t exists config/locales create config/locales/th.yml sy…

i18n は Ruby 1.8.7 + Rails 2.2.2 で

$ ruby script/generate i18n ja -t exists config/locales wrong number of arguments (0 for 1) /opt/local/lib/ruby/gems/1.8/gems/amatsuda-i18n_generators-0.3.1/generators/i18n/../i18n_locale/i18n_locale_command.rb:99:in `rindex' /opt/local/li…