openstreetmap-website/config/initializers/i18n.rb
Tom Hughes 6af3f93761 Update the :en and :sl pluralizers to default to :other if a more
specific key does not exist. This then allows r16613 to be reverted
as there is no need to distinguish the cases. Fixes #2087.
2009-07-21 20:23:07 +00:00

4 lines
210 B
Ruby

require 'globalize/i18n/missing_translations_log_handler'
I18n.missing_translations_logger = Logger.new("#{RAILS_ROOT}/log/missing_translations.log")
I18n.exception_handler = :missing_translations_log_handler