![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jul 2009
Posts: 19
OS: Win xp
|
design multilang website
HOw can i design website which supports multi languages. Is there any specific code/programming/setting required
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Design Team
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)
|
Re: design multilang website
The easiest way to do this is create your website with as little images as possible and use google translator to give viewers the option to change languages to whatever google translator provides.
For example, you can write your website in English, then post links that point to google translator's servers to change the language of the website. Sorry if I'm confusing you! IF you have any questions feel free to ask.
__________________
Nice music blog ![]() Nvu || Notepad++ || Apache || PHP || Keep TSF Alive "The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier." |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Jul 2009
Posts: 19
OS: Win xp
|
Re: design multilang website
HI Dj,
i want to seign website in 2 lang one is english and secon hindi. English is no problem. I have translated the text from eng to hindi and its in unicode. but when i copy hindi text(doc File) to html, fonts are converting to some special chars. can u pls help. I am writing lang=HI in html. |
|
|
|
|
|
#4 (permalink) |
|
Design Team
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)
|
Re: design multilang website
Does the html document have an english doctype at the top of it?
(This is what an english HTML 4.01 Strict doctype looks like): Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
__________________
Nice music blog ![]() Nvu || Notepad++ || Apache || PHP || Keep TSF Alive "The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier." |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Jul 2009
Posts: 19
OS: Win xp
|
Re: design multilang website
Eng is ok but in hindi i am geeting the problem. Test is perfect in browser but when i open source code it shows some special char ie boxex). Here i am copying nthe text. Here it shows perfect but when i try to see the source code in browser(opne in notepad or dreamweaver) it shows special char...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//HI" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="hi"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Untitled Document</title> </head> <body> <p> </p> <p>कोशिका, जीवन की आधारभूत इकाई है। यह जीवित शरीर का सबसे छोटा भाग है, जो अपने में एक स्वतंत्र जीवन की अभिव्यक्ति करता है। *सोचिये कि मानव शरीर में 500 लाख से अधिक कोशिकाएं होती हैं, लेकिन इस जीवन की शुरूआत एक अकेली कोशिका से ही होती है। <br> एक संयुक्त अणु से दूसरे तक इलेक्ट्रॉन ले जाने में आयनिक बन्ध की भूमिका होती है। इससे आयनिक जीवों की उत्पत्ति होती है, जो कूलम्बिक शक्तियों के चलते एक-दूसरे से आबद्ध(जुड़े) रहते हैं। </p> <p> </p> </body> </html> |
|
|
|
|
|
#6 (permalink) |
|
Design Team
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)
|
Re: design multilang website
So this only happens when you view the source code from the internet? If you can open the file on the server and all of the characters are fine, then you have nothing to worry about.
__________________
Nice music blog ![]() Nvu || Notepad++ || Apache || PHP || Keep TSF Alive "The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier." |
|
|
|
|
|
#7 (permalink) |
|
Registered User
Join Date: Jul 2009
Posts: 19
OS: Win xp
|
Re: design multilang website
on front end of browser text is perfect but when i reight clcik and see the source code then only it shows boxes, boxes...
m i following right way of coding as per industry standards? |
|
|
|
|
|
#8 (permalink) |
|
Design Team
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)
|
Re: design multilang website
I've never had to deal with a multilingual problem like this before, but as long as they webpage looks alright when viewed in a browser you shouldn't have anything to worry about. I think that the browser you are viewing the webpage in recognizes the Hindi characters as generalized foreign characters and therefore associates the boxes that you see with each character. As long as your website looks alright when viewed and you can still edit the source code successfully, then I don't think you have anything to worry about.
__________________
Nice music blog ![]() Nvu || Notepad++ || Apache || PHP || Keep TSF Alive "The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier." |
|
|
|
|
|
#9 (permalink) |
|
God (TSF Enthusiast)
Join Date: May 2009
Location: Jeffersonville, IN
Posts: 905
OS: Ubuntu 9.10 [Karmic Koala]
|
Re: design multilang website
I know the problem isn't the code or the doc-types or the char-set etc. I'm not sure, but I think the problem might be the font you're using in your text editor. The current font you're using to view the source might not support the hindi unicode chars. Try changing the font while viewing your source to the same you're using on the page.
Honestly it doesn't seem like that big of a deal, unless you want to change the source... ever... okay fine it's a big deal ;-)
__________________
If I have not responded to a post in 24 hours or more, PM me with a link to the thread and I'll get back to you. I do not help via PM/IM/Email. |
|
|
|
![]() |
| Thread Tools | |
|
|