This event is triggered when the current locale is changed in JMap NG translation engine.
example
// Each time the current locale is changed, this method is processed
JMap.Event.Language.on.localeChange(
"custom-language-locale-change",
params =>console.info(`The current locale has changed, it is now "${params.locale}"`)
)
Parameters
listenerId: string
Your listener id (must be unique for all user events)
JMap.Event.Language.on
Here you have all available user events on which you can attach a listener.