TranslatorInput
TranslatorInput =
object
Defined in: translator.ts:31
Properties
Section titled “Properties”catalogues
Section titled “catalogues”
readonlycatalogues:Iterable<MessageCatalogue>
Defined in: translator.ts:33
Every catalogue available, in no particular order.
locales
Section titled “locales”
readonlylocales:Iterable<string>
Defined in: translator.ts:39
What the user asked for, most preferred first — an Accept-Language field,
navigator.languages, or a single configured locale. These are RFC 4647
language ranges, so fr selects a fr-CA catalogue too.