Display your SIte in Multiple Languages
Use Google's Translation Service . Use the Following piece of Javascript + HTML code.
<select name="translate" style="height:18px; font-size:10px;" onchange="javascript:window.location = http://www.google.com/translate_c?hl=en&langpair=en%7C' + this.value + '&u=' + window.location.href;">
<option value="">Translate This Page</option>
<option value="ar">Arabic</option>
<option value="zh-CN">Chinese Simplified</option>
<option value="zh-TW">Chinese Traditional</option>
<option value="nl">Dutch</option>
<option value="fr">French</option>
<option value="de">German</option>
<option value="el">Greek</option>
<option value="it">Italian</option>
<option value="ja">Japanese</option>
<option value="ko">Korean</option>
<option value="pt">Portuguese</option>
<option value="ru">Russian</option>
<option value="es">Spanish</option>
</select>
The following code supports quite a few languages. if u don't want any of theses languages, just cut off the respective lines of code.
12:36:00 PM
|
Labels:
Google,
Internet,
Multiple Language Translation
|
- Internet
- Careers
- internet security
- web
- Networking
- ORT
- Operational Research
- Operations Research
- Proxy
- Tutorial
- PHP
- "Adding a Google Custom Search Engine "
- Assam
- DHCP
- E-Commerce
- FTP Upload via cURL
- Google Hacking
- IT
- Leisure
- Light
- Market and Survey Researchers
- Multiple Language Translation
- Open Proxy
- PHP/SQL Securiity
- Photography
- Proxy Server
- Reputation Management
- Reverse Proxy
- SQL
- cURL
- firewall
- information security
- information technology
- sudoku
0 comments:
Post a Comment