Enabling Chinese Language Support: Difference between revisions


(New page: A fellow Viviti user has created a simple JavaScript to translate Viviti pages into Chinese! Once applied, it will translate most of the English on your pages, such as "comment" "View arch...)
 
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
A fellow Viviti user has created a simple JavaScript to translate Viviti 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 users Google-code project page here:
http://www.imyuao.com/files/documents/translate.js
 
http://code.google.com/p/viviti-translate-zhcn/downloads/list




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: This entry '''must''' be included within this file's body tags to function properly.''
==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 & Tricks]]
[[Category:Tips and Tricks]]

Latest revision as of 12: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/