translate(key, options = {})
Instance Public methods
Delegates to I18n#translate but also performs three additional
functions.
First, it will ensure that any thrown MissingTranslation
messages will be turned into inline spans that:
* have a "translation-missing" class set,
* contain the missing key as a title attribute and
* a titleized version of the last key segment as a text.
E.g. the value returned for a missing translation key :âblog.post.titleâ
will be <span class=âtransl