Added an event that fires when the translation was not found and a
fallback has been provided. The implementation has been attached to the
fact that adding a "fallback" string make the translation important.
Thus if it has not been found it will emit an event.
Added an event that fires when the translation was not found and a fallback has been provided. The implementation has been attached to the fact that adding a "fallback" string make the translation important. Thus if it has not been found it will emit an event.
Usage: counterpart.onTranslationNotFound(function(locale, key, fallback) {});