I am working on a website which has English and Hindi both versions. Firstly tell me the way to create site in Hindi-- in that i also need the information about which Hindi font will support the internet explorer.

Thanks in advance dear.

Pramod kushwaha commented: 12 +0

Recommended Answers

All 14 Replies

Anyone can give practical response?

@ atullalit91

Instead of using any specific hindi font you can use global font which supports UTF-8
its helpful when your site visitors don't have particular font hindi font in their computer.It also able visitors to see your site without downloading any font or without setting into their computer.

for that if you are using windows then you have to setting into your computer in language setting.(with doing this you can see hindi font into your php editor insted of square boxes.)

if you want any more information or know how to setting into language setting into your pc then please let me know.I will give you that step to install.

I hope this will help you. :)

Member Avatar for diafol

>its helpful when your site visitors don't have particular font hindi font in their computer.
Excellent point.

If your site is going to have a mixture of languages or have an English and Hindi version, you need to think about how you are going to structure your pages.

If two versions - easier:

Ensure that your meta data is set up correctly:

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-GB" xml:lang="en-GB"> 
<head> 
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> 
<meta http-equiv="content-language" content="en-GB" />

Do similar for Hindi.

Yes you should use two pages. And Ardav's comment about meta information is very important as from what I remember Search Engines use this in their algorythms to detirmine how appropriate a page is for the client.

Also, if you're having a think about font compatability perhaps the 'sifr' method might be an interesting read.

http://www.mikeindustries.com/blog/sifr

Hope this all helps :)

Thanks, i am sure you have the knowledge that i need to complete this website in hindi. Kindly guide me with step by step instructions so that i can complete my task as soon as possible.

@ atullalit91

Instead of using any specific hindi font you can use global font which supports UTF-8
its helpful when your site visitors don't have particular font hindi font in their computer.It also able visitors to see your site without downloading any font or without setting into their computer.

for that if you are using windows then you have to setting into your computer in language setting.(with doing this you can see hindi font into your php editor insted of square boxes.)

if you want any more information or know how to setting into language setting into your pc then please let me know.I will give you that step to install.

I hope this will help you. :)

please tell the step wise process
Thanks, i am sure you have the knowledge that i need to complete this website in hindi. Kindly guide me with step by step instructions so that i can complete my task as soon as possible.

Yes you are right.but first you tell me are you using windows or not.? If you are using windows then only i can help you out. :)

still not getting the required form after applying this code.

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-GB" xml:lang="en-GB">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-language" content="en-GB" />
Member Avatar for diafol

You need to set the meta data to Hindi for Hindi - the above meta data is for English.

I am working on a website which has English and Hindi both versions. Firstly tell me the way to create site in Hindi-- in that i also need the information about which Hindi font will support the internet explorer.

Thanks in advance dear.

Hi atullalit91

I think the best solution to your problem is to use WEFT for .eot files or Webfont Wizard for .pfr files.

This link should get you started.

http://www.netmechanic.com/news/vol3/css_no15.htm

Regards,
Al

still not getting the required form after applying this code.

<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-GB" xml:lang="en-GB">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="content-language" content="en-GB" />

For get font in hindi you have to do something like this.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<meta http-equiv="Content-Language" content="hi" />

<title>Hindi Text Example</title>
</head>

<body>
कैसे हो?
</body>
</html>

i given you whole code for your reference.so you can get the desire output.

I hope this will surely help you out. :)

(if i helped you add reputation to me.)

@ atullalit91

if you can't see hindi font in windows xp then just install language into your pc from your winxp cd. if you are not getting me.then tell me i will give you step by step procedure to install language into your pc. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.