...
Code Block | ||||
---|---|---|---|---|
| ||||
oTranslations['var_name', arrtcontext] |
Translate a phrase with context variables
Use Phrase with variable
The variables can be included in a phrase. Example:
Code Block | ||||
---|---|---|---|---|
| ||||
{ "total_people_liked_this_blog" : "{total} people liked this blog } |
...
Result: 5 people liked this blog
...
Info |
---|
Use |
...
single |
...
sign |
...
{ |
...
and |
...
} |
...
for |
...
variable. |
...