Enabling Chinese Language Support: Difference between revisions


No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
A fellow Web-Builder user has created a simple JavaScript to translate Web-Builder pages into Chinese! Once applied, it will translate most of the English on your pages, such as "comment" "View archived posts" "Submit" "Read more".
A fellow website builder user has created a simple JavaScript to translate website builder pages into Chinese! Once applied, it will translate most of the English on your pages, such as "comment" "View archived posts" "Submit" "Read more".


 
==Where to Find:==
====Where to Find:====


This latest version of this code can be found at the member's site here:
This latest version of this code can be found at the member's site here:
Line 11: Line 10:
We suggest you watch this page for updates and improvements to this script.
We suggest you watch this page for updates and improvements to this script.


 
==How to Use==
====How to Use:====


To use this script, simply include the latest javascript file in your default html document while [[Editing Theme Source Code]]. For version 1.3.3 of this script, the entry would appear as follows:
To use this script, simply include the latest javascript file in your default html document while [[Editing Theme Source Code]]. For version 1.3.3 of this script, the entry would appear as follows:
Line 18: Line 16:


<source lang="javascript">
<source lang="javascript">
<script type='text/javascript' src='http://viviti-translate-zhcn.googlecode.com/files/translate1.3.3.js'></script>
<script type='text/javascript' src='http://www.imyuao.com/files/documents/translate.js'></script>
</source>
</source>


<div class="note">
'''Note''' <br />
Please ensure this is added within the '''<body>''' tags of your default html file.
</div>


''Note: Please ensure this is added within the '''<body>''' tags of your default html file.''
==Example==
 
 
====Example:====


This code has been tested and works well. An example of this can be found at:
This code has been tested and works well. An example of this can be found at:


http://yuao.viviti.com
http://www.imyuao.com/
 
 


[[Category:Tips and Tricks]]
[[Category:Tips and Tricks]]
[[Category:Viviti]]

Latest revision as of 11:17, 17 November 2010

A fellow website builder user has created a simple JavaScript to translate website builder pages into Chinese! Once applied, it will translate most of the English on your pages, such as "comment" "View archived posts" "Submit" "Read more".

Where to Find:

This latest version of this code can be found at the member's site here:

http://www.imyuao.com/files/documents/translate.js


We suggest you watch this page for updates and improvements to this script.

How to Use

To use this script, simply include the latest javascript file in your default html document while Editing Theme Source Code. For version 1.3.3 of this script, the entry would appear as follows:


<script type='text/javascript' src='http://www.imyuao.com/files/documents/translate.js'></script>

Note
Please ensure this is added within the <body> tags of your default html file.

Example

This code has been tested and works well. An example of this can be found at:

http://www.imyuao.com/