TranslatorOptions
Index
Properties
optionalautoDetect
optionaldebug
Enable debugging by logging info to the console.
optionalfallbackLocale
Fallback locale(s) to use when the detected locale isn't translated. Defaults to en.
optionallocale
Locale to explicitly use.
optionallookupType
Order in which to load and lookup locale translations.
optionalresourceFormat
File format resource bundles are written in. Defaults to yaml.
Automatically detect the locale from the environment. Defaults to
true.