translate_enum icon indicating copy to clipboard operation
translate_enum copied to clipboard

Support setting raise-by-default config

Open aprescott opened this issue 2 years ago • 0 comments

First, thank you for this gem, it's great!

While there is a documented raise option that can be given for any particular translation call, I couldn't see a way to specify that all translation attempts should act as if raise: true is given, similar to the way that t() works if an application has set config.i18n.raise_on_missing_translations = true. (This is a pattern I personally follow for test environments, so that tests can catch missing translations early.)

I think it'd be great to have support for such a configuration setting application-wide without needing to specify raise: at each call site.

Optionally, perhaps the i18n.raise_on_missing_translations configuration could/should be automatically respected out of the box?

aprescott avatar May 12 '23 20:05 aprescott