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. Link to comment https://forums.phpfreaks.com/topic/259885-website-in-different-languages/ 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. Link to comment https://forums.phpfreaks.com/topic/259885-website-in-different-languages/#findComment-1331994 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. Link to comment https://forums.phpfreaks.com/topic/259885-website-in-different-languages/#findComment-1331998 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? Link to comment https://forums.phpfreaks.com/topic/259885-website-in-different-languages/#findComment-1332005 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. Link to comment https://forums.phpfreaks.com/topic/259885-website-in-different-languages/#findComment-1332008 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.