You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the plugin and found it could not support multilanguage.
My environment is
Environment:
Redmine version 2.1.4.stable.10880
Ruby version 1.9.3 (i686-linux)
Rails version 3.2.8
Environment production
Database adapter Mysql2
How to fix it? Thanks.
the start log is
/usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb:158:in load_file': can not load translations from /opt/lampp/htdocs/redmine_2_1/plugins/redmine_involvement_filter/config/locales/zh.yml, expected it to return a hash, but does not (I18n::InvalidLocaleData) from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb:15:inblock in load_translations'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb:15:in each' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb:15:inload_translations'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/simple.rb:57:in init_translations' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/simple.rb:71:inlookup'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb:26:in translate' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb:44:inblock (2 levels) in translate'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb:43:in catch' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb:43:inblock in translate'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb:42:in each' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb:42:intranslate'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n.rb:156:in block in translate' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n.rb:152:incatch'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n.rb:152:in translate' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/transliterator.rb:11:intransliterate'
from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n.rb:227:in transliterate' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflector/transliterate.rb:62:intransliterate'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflector/transliterate.rb:84:in parameterize' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/inflections.rb:155:inparameterize'
from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/override.rb:37:in initialize' from /opt/lampp/htdocs/redmine_2_1/plugins/redmine_refresh/app/overrides/my/page.rb:1:innew'
from /opt/lampp/htdocs/redmine_2_1/plugins/redmine_refresh/app/overrides/my/page.rb:1:in <top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/polyglot-0.3.3/lib/polyglot.rb:63:inrequire'
from /usr/local/lib/ruby/gems/1.9.1/gems/polyglot-0.3.3/lib/polyglot.rb:63:in require' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:inblock in require'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in load_dependency' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:inrequire'
from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:63:in block (2 levels) in enumerate_and_load' from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:62:inglob'
from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:62:in block in enumerate_and_load' from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:55:ineach'
from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:55:in enumerate_and_load' from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:49:inload_overrides'
from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:31:in block in load_all' from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:29:ineach'
from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:29:in load_all' from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/railtie.rb:12:inactivate'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:484:in _run__999258781__prepare__581403389__callbacks' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in__run_callback'
from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in _run_prepare_callbacks' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:inrun_callbacks'
from /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:74:in prepare!' from /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:48:inprepare!'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application/finisher.rb:47:in block in <module:Finisher>' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:ininstance_exec'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:in run' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:55:inblock in run_initializers'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:in each' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:inrun_initializers'
from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application.rb:136:in initialize!' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:inmethod_missing'
from /opt/lampp/htdocs/redmine_2_1/config/environment.rb:14:in <top (required)>' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /opt/lampp/htdocs/redmine_2_1/config.ru:3:inblock in
'
from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in instance_eval' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:ininitialize'
from /opt/lampp/htdocs/redmine_2_1/config.ru:1:in new' from /opt/lampp/htdocs/redmine_2_1/config.ru:1:in'
from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in eval' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:inload'
from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:42:in for' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:169:inload_adapter'
from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:73:in start' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:187:inrun_command'
from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:152:in run!' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/bin/thin:6:in<top (required)>'
from /usr/local/bin/thin:23:in load' from /usr/local/bin/thin:23:in'
The text was updated successfully, but these errors were encountered:
I used the plugin and found it could not support multilanguage.
My environment is
Environment:
Redmine version 2.1.4.stable.10880
Ruby version 1.9.3 (i686-linux)
Rails version 3.2.8
Environment production
Database adapter Mysql2
How to fix it? Thanks.
the start log is
/usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb:158:in
'load_file': can not load translations from /opt/lampp/htdocs/redmine_2_1/plugins/redmine_involvement_filter/config/locales/zh.yml, expected it to return a hash, but does not (I18n::InvalidLocaleData) from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb:15:in
block in load_translations'from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb:15:in
each' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb:15:in
load_translations'from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/simple.rb:57:in
init_translations' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/simple.rb:71:in
lookup'from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/base.rb:26:in
translate' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb:44:in
block (2 levels) in translate'from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb:43:in
catch' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb:43:in
block in translate'from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb:42:in
each' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/fallbacks.rb:42:in
translate'from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n.rb:156:in
block in translate' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n.rb:152:in
catch'from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n.rb:152:in
translate' from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n/backend/transliterator.rb:11:in
transliterate'from /usr/local/lib/ruby/gems/1.9.1/gems/i18n-0.6.1/lib/i18n.rb:227:in
transliterate' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflector/transliterate.rb:62:in
transliterate'from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflector/transliterate.rb:84:in
parameterize' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/core_ext/string/inflections.rb:155:in
parameterize'from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/override.rb:37:in
initialize' from /opt/lampp/htdocs/redmine_2_1/plugins/redmine_refresh/app/overrides/my/page.rb:1:in
new'from /opt/lampp/htdocs/redmine_2_1/plugins/redmine_refresh/app/overrides/my/page.rb:1:in
<top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/polyglot-0.3.3/lib/polyglot.rb:63:in
require'from /usr/local/lib/ruby/gems/1.9.1/gems/polyglot-0.3.3/lib/polyglot.rb:63:in
require' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in
block in require'from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in
load_dependency' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in
require'from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:63:in
block (2 levels) in enumerate_and_load' from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:62:in
glob'from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:62:in
block in enumerate_and_load' from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:55:in
each'from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:55:in
enumerate_and_load' from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:49:in
load_overrides'from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:31:in
block in load_all' from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:29:in
each'from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/environment.rb:29:in
load_all' from /usr/local/lib/ruby/gems/1.9.1/gems/deface-0.9.1/lib/deface/railtie.rb:12:in
activate'from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:484:in
_run__999258781__prepare__581403389__callbacks' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback'from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in
_run_prepare_callbacks' from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks'from /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:74:in
prepare!' from /usr/local/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/reloader.rb:48:in
prepare!'from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application/finisher.rb:47:in
block in <module:Finisher>' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:in
instance_exec'from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:30:in
run' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:55:in
block in run_initializers'from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:in
each' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/initializable.rb:54:in
run_initializers'from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/application.rb:136:in
initialize!' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in
method_missing'from /opt/lampp/htdocs/redmine_2_1/config/environment.rb:14:in
<top (required)>' from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from /opt/lampp/htdocs/redmine_2_1/config.ru:3:in
block infrom /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in
instance_eval' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in
initialize'from /opt/lampp/htdocs/redmine_2_1/config.ru:1:in
new' from /opt/lampp/htdocs/redmine_2_1/config.ru:1:in
'from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in
eval' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in
load'from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:42:in
for' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:169:in
load_adapter'from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:73:in
start' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:187:in
run_command'from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:152:in
run!' from /usr/local/lib/ruby/gems/1.9.1/gems/thin-1.5.0/bin/thin:6:in
<top (required)>'from /usr/local/bin/thin:23:in
load' from /usr/local/bin/thin:23:in
'The text was updated successfully, but these errors were encountered: