You can simply use lang_XX.php and include it in your application.
$lang = array( "welcome" => "Welcome", "bye" => "Bye" );
For other languages, say lang_fr.php , it just turned out something like:
$lang = array( "welcome" => "Accueil", "bye" => "Au revoir" );
In a small case, this should be good and no need to migrate with .po files. Alternatively, you can define it as follows:
function _($l) { return $lang[$l]; }
Praveen kumar
source share