CodeIgniter Forums

Full Version: Language files in database
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hi all,

I searched for a while now, but I cannot find anything here in the forums about this:

Does anybody use the database for language data storage instead of the files?

I need the strings in a database as I need to be able to export and versionalize them for our external translation service. I first thought about simply importing the lang files into a database and export them again afterwards, but it seems simpler to use the strings directly.

I don't think that this is too complicated, but maybe somebody has already done so and I don't have to reinvent the wheel.

Thanks in advance,

El Forum

The way i do it is to store static strings for example all the back-end labels in language files and variable strings in the database.