Enode — API Reference
    Preparing search index...

    Function WelcomeLanguageMenu

    • Compact language menu for the welcome screen (top right of the brand pane): flag + current language name, opening the same list as LanguagePicker.

      Parameters

      • __namedParameters: { className?: string }

      Returns Element

      Picking switches the active locale on this device only — setActiveLocale re-renders every t(...) at once, mirrors the choice to localStorage (so it survives a reload) and sends it as Accept-Language. It deliberately skips applyLocale: re-fetching the signed-in stores before sign-in would only produce unauthorized requests. The pick is also recorded via markLocaleChosenLocally, so the account's stored language doesn't override it after sign-in (see shouldApplyAccountLocale).