search for: translation_help

Displaying 1 result from an estimated 1 matches for "translation_help".

Did you mean: translation_helper
2010 Oct 01
0
Questions about translation method
...I18n.normalize_keys(locale, key, options[:scope]).join(''.'') else raise exception end end end I18n.exception_handler = :custom_handler But this has no effect. I think I''ve found the code responsible for this in actionpack-3.0.0/lib/action_view/helpers/translation_helper.rb line 27. The option raise is forced to true and the translate methods keeps the exception for itself with no possibility to replace the exception handler nor customize the output. In my opinion rails should not force raise option to true and make a default exception handler. Thus it would be...