Language

The language the phone is set to. Used to localize all content presented to the user. Represented according to RFC 5646.

Example: "en-US", "de-CH".

const onLanguageChange = (language: string, timestamp?: Date) => {
    console.log(language, timestamp);
};


COBI.app.language.subscribe(onThemeChange);
COBI.app.language.unsubscribe(onThemeChange);

Last updated