Skip to content

Plugin config options as object and new onTranslationNotFound method

Choose a tag to compare

@tikiatua tikiatua released this 03 Nov 10:57
· 105 commits to master since this release

This version has several fixes:

  • The minified file version is now actually a minified version of the umd version
  • There will be a warning, if the locale is not specified when a translation key is used
  • Plugin initialization options can now be set via an object. A depreciation warning is shown for the array initialization method
  • There is a new plugin option onTranslationNotFound. This is a method that will be called if the translation key is not found in the current locale. Albeit the translation might still be available in a localized locale or the fallback locale.