gui/i18n/I18nProvider

The app's react-intl boundary. Resolves the stored locale preference (or the browser's languages), loads the matching compiled catalog, keeps the document's lang/dir attributes in sync, and swallows expected missing-translation noise so a partially-translated locale degrades gracefully to English.

Description:
  • The app's react-intl boundary. Resolves the stored locale preference (or the browser's languages), loads the matching compiled catalog, keeps the document's lang/dir attributes in sync, and swallows expected missing-translation noise so a partially-translated locale degrades gracefully to English.

Source:

(require("gui/i18n/I18nProvider"))(props) → {JSX.Element}

Description:
  • Wrap the app subtree in a configured <IntlProvider>.

Source:
Parameters:
Name Type Description
props object
Properties
Name Type Attributes Description
locale string <optional>

The stored settings.locale preference ("auto"/empty follows the browser).

Returns:
Type
JSX.Element