Add file phrase.json on root path of your apps.
Example:
{ "Phrase text" : "", "var_name" : "Phrase text", "Phrase text" : { "en" : "", "es" : "Spanish Phrase text", "ot" : "Other language phrase text" }, "var_name" : { "en" : "Phrase text", "es" : "Spanish Phrase text", "ot" : "Other language phrase text" }, } |
We have 4 ways to define a phrase:
Example:
{ "Manage Video" : "" } |
Use:
<?php echo _p("Manage Video"); |
It will show: Manage Video
Example:
{ "manage_video" : "Manage Video" } |
Use:
<?php echo _p("manage_video"); |
It will show: Manage Video