سؤال

I use the trick

I18n.exception_handler = :just_raise_that_exception

as described in How to enable Rails I18n translation errors in views?

For some reason simple_form labels "escape" from this mechanism. Is it possible to also use this trick to find missing translations for simple_form labels?

هل كانت مفيدة؟

المحلول

It's not related to Simple Form it's how human_attribute_name method works. You can read more about this here

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top