I have built a multilingual website with CodeIgniter using this library:
http://codeigniter.com/wiki/URI_Language_Identifier/
I use it to change language in the navigation menu and the captions for some pictures. The problem is that to edit these texts I have to actually open the language file and change it there. I’d like to create an admin panel to manage these files. Is there a nice and clean way to do this?
Another option besides parsing, editing and saving the actual files, is to move the language translations from the language file to the database, then you can build the $lang array from the database inside the language file.
So your language file becomes:
Instead of:
Then you could use normal database calls to add/edit/update the translations.