Cardale Posted September 1, 2007 Share Posted September 1, 2007 I've been trying to figure out a good way to handle multiple languages with my template system and I started, but after starting I'm noticing a lot of wasted time coding this way. I am making a generic array then using the array in my function then creating a variable to put into my template files. This really just feels stupid. My template isn't buffered at all just broken into multiple sections through out my function and pieces for the page. I need some advice on a better way to handle these problems and possibly some good articles on the matter. I'm determined to create everything myself so no PEAR. Any help would be appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/67549-multiple-languages/ Share on other sites More sharing options...
Daniel0 Posted September 1, 2007 Share Posted September 1, 2007 You could use the gettext functions. I haven't used them myself before, but these functions are made for internationalization. Quote Link to comment https://forums.phpfreaks.com/topic/67549-multiple-languages/#findComment-339267 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.