Get the Newsletter

changeLanguage

A Method

changeLanguage(lng: string, callback?: Callback): Promise

Changes the language. The callback will be called as soon translations were loaded or an error occurs while loading. HINT: For easy testing - setting lng to 'cimode' will set t function to always return the key.

Parameters

lng: string
callback?: Callback