Register a new locale with the given name.
The locale's name should preferably be a BCP 47 language identifier, so it can be set as a valid lang attribute of the UI.
lang
The name of the locale.
The locale.
Register a new locale with the given name.
The locale's name should preferably be a BCP 47 language identifier, so it can be set as a valid
langattribute of the UI.