Referencei18n
hasRegisteredLocale
Check whether an exact locale tag exists in the global i18n registry
Import
hasRegisteredLocale returns whether a normalized locale tag has an explicit registry layer from registerI18n. It does not indicate whether a lazy built-in pack exists. Only registry entries count.