Skip to main content

Module i18n

Module i18n 

Source
Expand description

The language of the interface, in which a plugin of the first hand writes what the user reads (an error, a state’s name): French or English, as Escouade’s. A plugin is told it by initialize (a module has no environment, docs/PLUGINS.md §8.4.8); a process reads it from ESCOUADE_LANG (fr, en) before that. The core sets it as its own changes (set_ui).

Enums§

Lang

Functions§

from_env
The language Escouade gave the plugin’s process (ESCOUADE_LANG), when it gave one.
from_greeting
The language initialize said, when it said one.
set_ui
ui
The interface’s language.