SwitchableLocalizer

constructor(main: Localizer, fallback: Localizer)

Create a new SwitchableLocalizer.

Parameters

main

the main localizer to use

fallback

the fallback localizer to use, activated if the self-test task fails, or by the user.