Add hooks in get and getHTML methods
When run intl.get
or intl.getHTML
, the intlGetHook will be called.
intl.init({
intlGetHook: (key, currentLocale)=> {}
})
When run intl.get
or intl.getHTML
, the intlGetHook will be called.
intl.init({
intlGetHook: (key, currentLocale)=> {}
})