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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 07-13-2009, 08:30 AM   #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
Pranks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 07-13-2009, 10:20 PM   #2 (permalink)
Design Team
 
DJ-Zep's Avatar
 
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)

My System

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."
DJ-Zep is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-16-2009, 12:22 AM   #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.
Pranks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-16-2009, 03:25 PM   #4 (permalink)
Design Team
 
DJ-Zep's Avatar
 
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)

My System

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."
DJ-Zep is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-17-2009, 02:15 AM   #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>&nbsp;</p>
<p>कोशिका, जीवन की आधारभूत इकाई है। यह जीवित शरीर का सबसे छोटा भाग है, जो अपने में एक स्वतंत्र जीवन की अभिव्यक्ति करता है। *सोचिये कि मानव शरीर में 500 लाख से अधिक कोशिकाएं होती हैं, लेकिन इस जीवन की शुरूआत एक अकेली कोशिका से ही होती है। <br>
एक संयुक्त अणु से दूसरे तक इलेक्ट्रॉन ले जाने में आयनिक बन्ध की भूमिका होती है। इससे आयनिक जीवों की उत्पत्ति होती है, जो कूलम्बिक शक्तियों के चलते एक-दूसरे से आबद्ध(जुड़े) रहते हैं। </p>
<p>&nbsp;</p>
</body>
</html>
Pranks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-17-2009, 07:55 AM   #6 (permalink)
Design Team
 
DJ-Zep's Avatar
 
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)

My System

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."
DJ-Zep is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-17-2009, 10:07 AM   #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?
Pranks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-17-2009, 12:59 PM   #8 (permalink)
Design Team
 
DJ-Zep's Avatar
 
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)

My System

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."
DJ-Zep is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-18-2009, 07:16 AM   #9 (permalink)
God (TSF Enthusiast)
 
ahmorrow's Avatar
 
Join Date: May 2009
Location: Jeffersonville, IN
Posts: 905
OS: Ubuntu 9.10 [Karmic Koala]

My System

Send a message via AIM to ahmorrow Send a message via Yahoo to ahmorrow
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.
ahmorrow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 05:07 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85