Skip to content

JNestudi/idiomator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

idiomator

simle php snippet Just add a folder named "lang" and all the lang (iso code + ".php" unless you want to change the iso code as I did with catalan language). The lang string substitution will work like this: At the index.php (or other accesible file)

<?=$l['somestring'];?>

At the "en.php" (or other language file inside the folder langs)

<?php $l['somestring'] = "Some string"; ?>

About

simple php snippet for lang support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published