Localization
Localization of When is an ongoing task: the appplication tries to start in a localized version if there is an available valid translation for the current language. If not, it just falls back to the standard english version. Only UI and CLI elements are translated: of course the generated configuration file is the same in all supported locales, as whenever does not expect any translated format.
Currently supported languages are:
English (US, default)
Italian
French (*)
German (*)
…
and other languages may add up in the future. Some UI/CLI elements or messages may appear untranslated, in case a translation is still lacking.
Note: translations marked with a star surely need to be proofread.
Localization can be inhibited: to do so, the WHEN_APP_USELOCALE
environment variable must be set to no
. Otherwise, even if the variable is not set, When will try to:
start in the specified language if the value assigned to the variable is of the form
yes:xx-XX
wherexx-XX
is a locale code in BCP47 form[1] (such asen-US
,fr-FR
,it-CH
, …) and the language specified byXX
is already supportedstart in the current language otherwise, including the case where the variable is not set.
The possibility of forcing the interface language can also be useful when debugging When in a different language.