Skip to main content
Version: v3+

getLanguage

Start from API_LEVEL 2.0 . Please refer to API_LEVEL.

Get the current system language setting.

Type​

function getLanguage(): Result

Parameters​

Result​

TypeDescription
numberPlease see the Multilingual Mapping for more details

Example​

import { getLanguage } from '@zos/settings'

const languageCode = getLanguage()
console.log(languageCode)