2 LuCI translation library.
7 Set the context default translation language.
11 @param lang An IETF/BCP 47 language tag or ISO3166 country code, e.g. "en-US" or "de"
12 @return The effective loaded language, e.g. "en" for "en-US" - or nil on failure
16 Return the translated value for a specific translation key.
20 @param key Default translation text
21 @return Translated string
25 Return the translated value for a specific translation key and use it as sprintf pattern.
29 @param key Default translation text
30 @param ... Format parameters
31 @return Translated and formatted string
35 Return all currently loaded translation strings as a key-value table. The key is the
36 hexadecimal representation of the translation key while the value is the translated
41 @return Key-value translation string table.