phpcollect Posted September 11, 2007 Share Posted September 11, 2007 Hi I have a php site. It is multilingual. I would like to have the language direction be ltr for english and rtl for the other language, I know in regular html I would be inserting in the html tag of the specific language index file <html dir="rtl">. What do I do in php - I know which files to insert in but I dont know what! I understand it should be a define statement and I have one define statement define ('LANG_CODEPAGE', 'iso-8859-1') should I be adding something to this? Thanks Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted September 11, 2007 Share Posted September 11, 2007 I don't quite get what you're trying to do. Quote Link to comment Share on other sites More sharing options...
phpcollect Posted September 11, 2007 Author Share Posted September 11, 2007 What I need is a line of code in php (charset statement) to change the direction of the document( English is a left to right language , my other language is a right to left language) Thanks Quote Link to comment Share on other sites More sharing options...
Jessica Posted September 11, 2007 Share Posted September 11, 2007 This is NOT OOP!! Just make PHP print out the html code you posted. Quote Link to comment Share on other sites More sharing options...
448191 Posted September 11, 2007 Share Posted September 11, 2007 It's not? 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.