Optional
placeholders: TranslationVariables<T>Optional
options: TranslationOptionsOptional
number: numberOptional
options: TranslationOptionsOptional
placeholders: TranslationVariables<T>Optional
number: numberOptional
options: TranslationOptions
Translate a string
Param: app
the id of the app for which to translate the string
Param: text
the string to translate
Param: placeholdersOrNumber
map of placeholder key to value or a number replacing
%n
Param: optionsOrNumber
the translation options or a number to replace
%n
withParam: options
options object
Param: options.escape
enable/disable auto escape of placeholders (by default enabled)
Param: options.sanitize
enable/disable sanitization (by default enabled)