diff --git a/src/platform/platform.ts b/src/platform/platform.ts index 423af6f342..77d78b346c 100644 --- a/src/platform/platform.ts +++ b/src/platform/platform.ts @@ -351,6 +351,7 @@ export class Platform { * the language needs to be dynamically changed per user/session. * [W3C: Declaring language in HTML](http://www.w3.org/International/questions/qa-html-language-declarations) * @param {string} language Examples: `en-US`, `en-GB`, `ar`, `de`, `zh`, `es-MX` + * @param {boolean} updateDocument Specifies whether the `lang` attribute of `` should be updated */ setLang(language: string, updateDocument: boolean) { this._lang = language;