served.utils.translate

Undocumented in source.

Members

Aliases

Translation
alias Translation = string[string]
Undocumented in source.

Functions

formatTranslation
string formatTranslation(string text, Args formatArgs)
Undocumented in source. Be warned that the author may not have intended to support it.
resolvePlural
int resolvePlural(int form, int n)

Implements mozilla's plural forms.

translate
string translate(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

currentLanguage
string currentLanguage;
Undocumented in source.

Meta