%{count} Variables not resolving after upgrade from 0.9.2 to 1.0.1
Added by Jeff Thorn about 14 years ago
I recently upgraded from version 0.9.2 to 1.0.1. following the instructions at http://www.redmine.org/wiki/redmine/RedmineUpgrade
Everything seems to be working ok, except for one weird issue. None of the variables on the Overview page seem to be resolving. I am literally seeing %{count} instead of a number on the Overview pages, like so:
Issue tracking * Bug: %{count} open / %{total} * Feature: %{count} open / %{total} * Support: %{count} open / %{total} * Change Request: 0 open / %{total}
Does any one know why this is happening and how to fix it?
Thanks,
Jeff
Replies (2)
RE: %{count} Variables not resolving after upgrade from 0.9.2 to 1.0.1 - Added by Jeff Thorn about 14 years ago
I figure out what my problem was. I had executed the locales_update.rb script based on this defect:
http://www.redmine.org/issues/5608
That didn't end up helping me. But adding this
gem 'i18n', '>= 0.1.3', '< 0.4.0'
to vender.rb got everything working for me as recommended by Christof Spies. Once I rolled back all the files in the locales directory, everything is working as expected.
RE: %{count} Variables not resolving after upgrade from 0.9.2 to 1.0.1 - Added by Marius Ionescu almost 14 years ago
Thank you Jeff for your post. It did help me, but I just want to detail for others a little bit more, since you did a typo (vender.rb instead of vendor.rb):
1. install i38n-0.3.5:
gem install i38n -v=0.3.5
2. vi $redmine_dir/vendor/rails/activesupport/lib/active_support/vendor.rb
and modify from
gem 'i18n', '>= 0.1.3'
in
gem 'i18n', '>= 0.1.3', '< 0.4.0' (as Jeff/Christof said)
Thanks,
Marius Ionescu