Welcome Guest, Not a member yet? Register   Sign In
How to make a multi country web site? (Best practices)
#2

[eluser]JoostV[/eluser]
One way is to set the language in the session. Then you can act on that info, by setting different images, loading a different langauge class, restricting data from teh database to a certain language, and even setting different ways to displayes dates and so on.

If you already have a language detection class, you write a library that:
-checks to see if that language is available
-if it is, set that language in session
-if it is not, set a default language in session , e.g. English

You can then also add language buttons to your site that enable the visitor to choose a different language.


Messages In This Thread
How to make a multi country web site? (Best practices) - by El Forum - 01-06-2009, 12:55 PM
How to make a multi country web site? (Best practices) - by El Forum - 01-06-2009, 04:30 PM
How to make a multi country web site? (Best practices) - by El Forum - 01-06-2009, 06:19 PM
How to make a multi country web site? (Best practices) - by El Forum - 01-07-2009, 04:49 AM
How to make a multi country web site? (Best practices) - by El Forum - 01-07-2009, 05:24 AM
How to make a multi country web site? (Best practices) - by El Forum - 01-07-2009, 06:11 AM
How to make a multi country web site? (Best practices) - by El Forum - 01-07-2009, 06:48 AM
How to make a multi country web site? (Best practices) - by El Forum - 01-07-2009, 07:02 AM
How to make a multi country web site? (Best practices) - by El Forum - 01-07-2009, 08:07 AM
How to make a multi country web site? (Best practices) - by El Forum - 01-09-2009, 06:01 AM
How to make a multi country web site? (Best practices) - by El Forum - 11-16-2009, 02:13 PM
How to make a multi country web site? (Best practices) - by El Forum - 11-16-2009, 06:11 PM
How to make a multi country web site? (Best practices) - by El Forum - 06-17-2011, 01:36 AM
How to make a multi country web site? (Best practices) - by El Forum - 07-26-2012, 09:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB