Welcome Guest, Not a member yet? Register   Sign In
CI language handling
#1

Hi

I am a noob to CI and php generally. I am however writing a website that will have content that mostly should stay the same that needs to be in different languages.

I am confused what the best practice for this is…

1. Should I have the content of each page in language text files and use the CI language function? OR
2. Should I have the content in a database with different columns/fields for the different languages? OR
3. Should i have the content in different databases for each language?

It must be something that a million people have had to do but I’m not sure what is the best way…also what happens with things like headers and footers, etc??

Many thanks for anyone taking the time to help

Tom
Reply


Messages In This Thread
CI language handling - by discofunk - 11-02-2014, 04:32 AM
RE: CI language handling - by ivantcholakov - 11-02-2014, 04:22 PM
RE: CI language handling - by Hobbes - 11-02-2014, 05:25 PM
RE: CI language handling - by ivantcholakov - 11-02-2014, 06:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB