Skip to content
Edit this page

getBrowserLanguage Type documentation

TypeScript declaration

import { getBrowserLanguage } from '@siemens/element-translate-ng/translate';

Returns: The language code of the browser, e.g. "en".

getBrowserLanguage(): string | undefined

Returns: The language code of the browser, e.g. "en".


Except where otherwise noted, content on this site is licensed under MIT License.