July 22, 200818 yr I made my website in English, and i want to make an Arabic version as well.. My website(English): http://imagdy.zxq.net i have changed the doc language and ofcourse wrote the website in arabic, but it doesnt display well, keeping in mind its not an browser encoding problem, i have tried that too, i really need help with that as i want to release the arabic version soon! Thank you..
July 22, 200818 yr Did you change the charset and font to ones which support arabic? If you show us what it looks like we will be better able to point you in the right direction.
July 23, 200818 yr Author I did that, and then i see this pic, @__@ the underlined words should be Arabic, but they are not Arabic..
July 23, 200818 yr Author Codes: Head <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//AR" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ar"> <head> <meta name="generator" content= "HTML Tidy, see www.w3.org" /> <title>iMagdy لتصميم الويب</title> <meta http-equiv="content-type" content= "text/html; charset=Windows-1256" /> <meta http-equiv="Content-Language" content="ar-eg" /> CSS: font-family: "helvetica", arial, verdana, sans-serif; Arial should work fine with Arabic. but the problem still not solved.
July 23, 200818 yr Hi Again, OK your website works fine on my machine! What program are you using to write the website in? I'm guessing that the problem is you have not saved the HTML file in the correct format. Many people get confused with the following line of code: <meta http-equiv="content-type" content="text/html; charset=Windows-1256" /> It is often assumed that this defines the documents charset, that by putting this line here the document will be in the correct charset. The problem is that this is META information, which is information about how the page is setup. You have to make sure that whatever you put as the charset in this tag, is the same as the charset you use to save the file. If you are using Wordpad you can choose the file type when you save, it should be set to Unicode Text Document, or in Notepad, just Unicode. Or you can choose to change the charset in the meta tag to UTF-8 and save the document as UTF-8 in notepad. One strange thing I have noticed though, is that the Title tag displays square boxes at the top of the browser, but displays the correct arabic on the taskbar. Not sure why that is.
July 23, 200818 yr Author What you see on your computer is the English version, but the Arabic version is still local on my pc, coding it before i publish it, i use Aptana Studio for coding it. Thanks for your help However, i had uploaded the Arabic version which is still not completed at http://imagdy.zxq.net/go/arabic-beta/ please check it.. thanks again.
July 23, 200818 yr What you see on your computer is the English version, but the Arabic version is still local on my pc, coding it before i publish it, No, I saved the code you posted above as a HTML file, and finished it off with end tags and also copied the arabic into a H1 tag. I have looked at your online arabic version and it appears to display correctly to me, so I take it everything's ok now?
July 23, 200818 yr Is your homepage content loaded by javascript, it doesn't show with javascript disabled.
July 23, 200818 yr Author -The main form at the main wrapper div is an iframe uses Javascripts. -The header and the footer also uses javascripts to load, just to make them drag-able.
July 23, 200818 yr Author I FOUND THE ANSWERRRRRRRRRRR AND IT WORKS LOVELY SWEET, JUST MAKE charset=utf-8 THATS EVERY THING... IM TOOO HAPPY
Create an account or sign in to comment