Click here to Skip to main content
14,980,986 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello My dear friends

I am students of BCA.

i want to develop a website in gujarati language using html and php but i have no idea about that.

So i requesting to my dear friends to help me regarding it.

Please explain me with code(if possible) or any suitable example or give the URL to refer.

Please help me

Thanking all of helper in advance.

Thanking You
Posted
Updated 13-Oct-16 3:45am
v2
Comments
theanil 28-Dec-11 15:01pm
   
Don't give your contact info.
RaviRanjanKr 30-Dec-11 18:58pm
   
Google Please :)

Gujarati is popular enough to be supported by most modern systems by default. I never installed anything special, but I just checked up: I have it on my Windows XP and Windows 7 systems.

So, all you need it to write the text and save it in UTF-8. You should always prescribe this Unicode UTF in HTTP-EQUIV:
HTML
<html>
	<head>
		<title>...</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	</head>
<body>

...

</body>
</html>


This is very important: even if your HTTP server supports UTF-8 by its default settings, HTTP-EQUIV is still critical: if someone saves the HTML file locally, the charset information would be lost without it.

That's it. You page will support combination of wide set of different languages at the same time.

See also:
http://unicode.org/[^],
http://unicode.org/faq/utf_bom.html[^].

Also, just in case you use ASP.NET and want to go in for globalization and then localization: http://msdn.microsoft.com/en-us/library/c6zyy3s9.aspx[^].

—SA
   
v2
Comments
Espen Harlinn 30-Dec-11 9:16am
   
5'ed!
Sergey Alexandrovich Kryukov 30-Dec-11 10:25am
   
Thank you, Espen.
--SA
Nirav Prabtani 1-Aug-14 10:23am
   
my 5+ love to read "Gujarati" word from you.. :)
   
Thank you, Nirav.
—SA
Raje_ 1-Aug-14 10:31am
   
my +5 :)
   
Thank you, Raje.
—SA
Check this article series

Creating multilingual websites - Part 1[^]
Creating multilingual websites - Part 2[^]
Creating Multilingual websites - Part 3[^]

I tried this (English & Arabic) for a project, very nice.
   
Comments
Espen Harlinn 30-Dec-11 9:16am
   
5'ed!
Rajesh Anuhya 30-Dec-11 11:08am
   
Good Answer +5
   
5ed.
—SA
Google reveals all.

This book is written in gujarati, so I imagine there MIGHT be something about using the appropriate font on your web site:

http://books.google.com/books/about/MIcrosoft_ASP_Net_with_C_Gujarati_Editio.html?id=-1L9qvXBZmcC[^]

And was the first link of 184,000 returned from google with the search phrase "asp.net gujarati".

Try it. It's free (google, that is).
   
HTML
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>

<style>
@font-face
{
font-family: myguj-font;
src: url(Gujrati-Saral-1.ttf) format(truetype);
font-weight: normal;
font-style: normal;
}

.myguj
{
	font-family: myguj-font;
}

And your display area need just to point to a style class as follow:

</style>
</head>
<body>
<div class='myguj'>

હા ઓક\ બરો થય ને બધાને નિરાત હા તો વાંધો નય
વન ડે સીરિઝ પહેલા ભારતને ફટકો, સુરેશ રૈના પ્રથમ મેચમાંથી થયો બહાર
સુરતઃ મેનેજરને માર મારી કર્મચારીઓના પગારના 15 લાખ લૂંટી લેવાયા,CCTV 
3rd વર્લ્ડ વોર? પુતિને સ્ટાફને કહ્યું- વિદેશમાં રહેતા સંબંધીઓને પરત બોલાવો
અ'વાદઃ ડમ્પરની ટક્કરે ફંગોળાયા બે યુવકો, નિવૃત DSPના પૌત્રનું મોત
મોબાઈલ ચોરી માટે ટોકતા પતિએ પત્નીને કહી દીધું 

</div>
</body>
</html>
   
Comments
[no name] 13-Oct-16 10:07am
   
Do you think that the OP is still waiting after FIVE years for someone to do his homework assignment for him?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900