Preparing search index...

    Function getLanguage

    • Reads the language preference from storage.

      Falls back to the device locale (expo-localization) when no value has been saved, and to 'en' if the device locale cannot be determined.

      Returns Promise<string>

      A BCP 47 language code (e.g. 'en', 'fr').