getPlatformLanguage
getPlatformLanguage is a method for knowing the current language set by the user on the device. The output conforms to the ISO-639 two-letter code with ISO-3166 two-letter country code standard.
getPlatformLanguage().then((languageCode) => { console.log(languageCode); // en-GB | en-US | fr-FR | de-DE ...});