Method Locale.translate()
- Method translate
string
translate(string
project
,string
lang
,string
|int
id
,string
fallback
)- Description
Returns a translation for the given id, or the fallback string
string
translate(string
project
, string
lang
, string
|int
id
, string
fallback
)
Returns a translation for the given id, or the fallback string