Locale keys are put in their canonical form. A bad key or a value that is not a string throws.
Returns true if both have the same texts for the same locales.
Gives the text for locale. It tries the locale, then each shorter parent (fr-CA, then
fr), then each fallback in the same way. It gives undefined when no locale matches.
Gives the texts as a plain object.
A text in more than one language, keyed by BCP 47 locale. An
I18nTextis immutable.