Welcome Guest, Not a member yet? Register   Sign In
Creating Multi-lingual Application
#3

[eluser]JanDoToDo[/eluser]
Hey there. Essentially, you dont want to use static text in any of your views. Store all the information you want in the database with an associated 'language_id'. Then, when a view is loaded, select all the data you want but add another condition where the current language = language_id and it will select only the text you want in that language. Onthe site you just need a way of choosing/changing the language and bobs your uncle - you have different languages!


Messages In This Thread
Creating Multi-lingual Application - by El Forum - 01-05-2010, 02:46 PM
Creating Multi-lingual Application - by El Forum - 01-07-2010, 01:36 AM
Creating Multi-lingual Application - by El Forum - 01-07-2010, 03:54 AM
Creating Multi-lingual Application - by El Forum - 01-07-2010, 06:03 AM
Creating Multi-lingual Application - by El Forum - 01-07-2010, 06:05 AM
Creating Multi-lingual Application - by El Forum - 01-07-2010, 06:14 AM
Creating Multi-lingual Application - by El Forum - 01-09-2010, 03:45 AM
Creating Multi-lingual Application - by El Forum - 01-09-2010, 03:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB