creating a non-english website

Discussion in 'HTML & Website Design' started by saurabhk, Aug 4, 2007.

  1. #1
    How can one make a non-english site say in Hindi.One way is to use Hindi fonts but most of the users are not likely to have these fonts and will need to download and install them to view site properly I have heard of Unicode but have no knowledge of its implementation. Any solution?

    Thanks
     
    saurabhk, Aug 4, 2007 IP
  2. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Unicode is a system that uses unique bit information to code each and every letter of many many different texts-- so it doesn't make the conflict that ASCII does sometimes (why sometimes you read a website and certian letters or symbols, instead of looking like normal punctuation, make little symbols or blank squares). As long as YOU can type in Hindi on your keyboard, you can make a Hindi webpage I believe.

    I don't have special Hindi halant fonts, but I can read (well, look at) the text here just fine with a modern, common browser (FireFox)

    Look at the page and in your browser go to View>Page source (or right-click on the page, select View Source), and you'll see that the page has set the charset to one which includes most letters of most languages

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    The UTF-8 is the important part.
    Scroll further down the page and you can see that the person has simply typed in the Hindi letters between the <p>s.

    It's slow and NOT ideal for you, but if you don't have access to a real Hindi keyboard, you COULD use the online Devanagri keyboard (where you type in English keyboard and it prints to the screen the Hindi characters...) but I wouldn't waste the time.
     
    Stomme poes, Aug 4, 2007 IP
  3. nabiha

    nabiha Peon

    Messages:
    111
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Also use dir="rtl" in body tag to change it from right to left.
     
    nabiha, Aug 4, 2007 IP
  4. saurabhk

    saurabhk Peon

    Messages:
    149
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It does not look as good as a genuine Hindi fonts like arjun or kruti dev when displayed in Opera 'Halant' everywhere - but displays without problems ( read 'Halant' ) in IE6 How?

    Do browsers implement Unicode differently?

    Where can i find Online Devnagri keyboard?
     
    saurabhk, Aug 5, 2007 IP
  5. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You REALLY don't want to type a page with this. This thing's purpose is for searching a word or two in a search engine when you can't type it at home:

    http://hindikeyboard.indiapress.org/

    Better to get a real one.
     
    Stomme poes, Aug 5, 2007 IP
  6. saurabhk

    saurabhk Peon

    Messages:
    149
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    True! it is quite slow.

    But one questions remains unanswered - Unicode is supposed to be universal how come it(Hindi) is displayed differently in differenr browsers (Opera & IE)

    http://unicode.org/unicode/standard/translations/hindi.html - see the same page you wrote about in Opera.
     
    saurabhk, Aug 6, 2007 IP
  7. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I looked but I'm not a Hindi reader. The font looked thin and more like monospaced. I dunno why-- in the html the guy wrote (h3 italics bold) tags... so, maybe it's some default font thing in Opera... otherwise, I have no clue. To me, it still looks like Hindi. Maybe there's a unicode page where you can ask someone specifically about cross-browser presentation of non-roman fonts?
     
    Stomme poes, Aug 7, 2007 IP