December 2013
Intermediate to advanced
306 pages
6h 26m
English
One of the most useful features of CodeIgniter is its language class and support. It allows you to store content and set that content to belong to various languages; it is then possible to switch between languages to display different text in the same place holders in the view files. It's really easy to set up and this is how you do it.
A little information about language files. You'll need to know the rules for naming them. Language files are stored at /path/to/codeigniter/application/system/language/[language_name]/.
Where [language_name] is the name of the language you wish to support. So, for example, if you want to support English, French, and German you will create three file names:
/path/to/codeigniter/application/language/english/en_lang.php ...Read now
Unlock full access