Pyromann Posted September 23, 2011 Share Posted September 23, 2011 Hi, I am wondering if anyone tried to make the game in multiple languages. Witch is the fastest way to do this ? It's a lot of work, I think, to translate every word in the site. I hope I didn't post in the wrong forum! Have a good day!:D Quote Link to comment Share on other sites More sharing options...
Pyromann Posted September 24, 2011 Author Share Posted September 24, 2011 ok, language files ... but how you implement them ? you save the current language name in sessions ? and i must say ... there are a lot of echo's out there =) ... it will take me days to finish this Quote Link to comment Share on other sites More sharing options...
Lithium Posted September 24, 2011 Share Posted September 24, 2011 can be as simple as... $_L001 = "some text"; $_L002 = "more text"; ... And replacing on every single place for the correspondent var, hold the vars inside some file.lang.php include it on a file that allows you to have it available widely and of you go. 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.