jldw Posted March 28, 2012 Share Posted March 28, 2012 Hi how can I have the same website in a different language? So for the visitor, they would click on the appropriate flag and the site would then be displayed in their language. Quote Link to comment Share on other sites More sharing options...
Jessica Posted March 28, 2012 Share Posted March 28, 2012 You'll probably want to use a templating system, I like Smarty, and tokens. This is a complex project, but google can help you find many tutorials. Quote Link to comment Share on other sites More sharing options...
Vel Posted March 28, 2012 Share Posted March 28, 2012 Google translate tool is pretty good. http://gtranslate.net/ is a great little tool that uses it. You can see it in action in a site my company built here. Quote Link to comment Share on other sites More sharing options...
jldw Posted March 28, 2012 Author Share Posted March 28, 2012 thank you but I would like to use a php . I was thinking using SESSION but is there some other way? Quote Link to comment Share on other sites More sharing options...
Vel Posted March 28, 2012 Share Posted March 28, 2012 thank you but I would like to use a php . I was thinking using SESSION but is there some other way? Your best bet is to use either session, or possibly better, a cookie. If you use a cookie it'll remember the users selection between visits to the site. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.