Functions
translate
- translate(app: String, text: String, vars?: Object, count?: Number, options?: OC.L10N.TranslationOptions): String
-
Parameters
-
app: String
-
text: String
-
Optional vars: Object
-
Optional count: Number
-
Optional options: OC.L10N.TranslationOptions
Returns String
translatePlural
- translatePlural(app: String, textSingular: String, textPlural: String, count: Number, vars?: Object, options?: OC.L10N.TranslationOptions): String
-
Parameters
-
app: String
-
textSingular: String
-
textPlural: String
-
count: Number
-
Optional vars: Object
-
Optional options: OC.L10N.TranslationOptions
Returns String
Returns the user's locale
15.0.0