i18n-js v5.0.0-alpha.1
    Preparing search index...

    Variable defaultLocaleResolverConst

    defaultLocaleResolver: LocaleResolver = ...

    The default locale resolver.

    This resolver will add options.locale if provided (this function receives it inlined). In case nothing is set, then i18n.locale will be used. Additionally, adds the default locale to the list if i18n.enableFallback is set.

    Every locale added to the list will then be split apart; if pt-BR is the locale, then the list will be returned as ["pt-BR", "pt"].

    The default in case nothing is defined is ["en"].

    The I18n instance.

    The locale that being analysed.

    The resolved locales.