alien_signals_translator
library
Classes
-
SignalTranslator
-
Translator backed by
alien_signals. Read translations inside oref's
SignalBuilder (or watch(context, ...)) so widgets rebuild when the
locale changes.
Functions
-
tl(String key)
→ String
-
Translates a key using the current locale.
-
tlv(String key, String variable)
→ String
-
Translates a key with a single variable using the current locale.
-
tlvm(String key, List<String> variables)
→ String
-
Translates a key with multiple variables using the current locale. ICU
blocks and
{N} placeholders are resolved in one pass, so every
occurrence of a placeholder is substituted and substituted values are
never re-read as placeholders.