Some Note about Phrases System from 4.5.0

  1. How to to define:

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