1 require 'globalize/i18n/missing_translations_log_handler'
3 I18n.missing_translations_logger = Logger.new("#{RAILS_ROOT}/log/missing_translations.log")
4 I18n.exception_handler = :missing_translations_log_handler
10 alias_method :old_init_translations, :init_translations
15 friendly = translate('en', 'time.formats.friendly')
17 available_locales.each do |locale|
18 time_formats = I18n.t('time.formats', :locale => locale)
20 unless time_formats.has_key?(:friendly)
21 store_translations(locale, :time => { :formats => { :friendly => friendly } })