Vietnamese keyboard
From TextUsers
A Vietnamese keyboard (Vietnamese: bàn gõ tiếng Việt) is a software which allows users editing blogs, wiki articles etc... in Vietnamese characters. There are 2 different approaches that requires 2 different kinds of software:
- Install on your computer, and
- Install on the your website.
In your own computer will allow you to type Vietnamese for everything in it. It sounds fine then why we need keyboard for websites then. Computers at your work, your friend house, internet cafe will not allow you as a guest to install anything so if there is a keyboard installed in the web pages you still can type Vietnamese without install anything.
This article shows you how to install both types.
Contents |
[edit]
UniKey: Installation for your computer
Only 2 steps:
- Download UniKey then unzip.
- Run UniKey.exe
[edit]
mViet: Installation for your web site
[edit]
3 simple steps general installation
- Download mViet then unzip.
- Upload the file CVietButtonHTML.js to your host, in same dir that the applied html file resides.
- Insert "<script language="javascript1.2" src="./CVietButtonHTML.js"></script>" before "</body>" tag.
Example code:
<html> <head> </head> <body> This is an example of typing mViet to an input field and a textarea field. Use F12 to toggle on/off. <input name="somename" id="someid"> <textarea name="message" rows="15" cols="76" id="textarea"></textarea> <script language="javascript1.2" src="./CVietButtonHTML.js"></script> </body> </html>
[edit]
Installation for WordPress
- Download mViet then unzip.
- Upload the file CVietButtonHTML.js to your host, in same dir that contains these files: wp-config.php and wp-login.php.
- Use an editor open file ./wp-content/themes/default/footer.php (also repeat with ./wp-content/themes/classic/footer.php if disired)
- Insert "<script language="javascript1.2" src="./CVietButtonHTML.js"></script>" before "</body>" tag like this:
... <?php wp_footer(); ?> <script language="javascript1.2" src="./CVietButtonHTML.js"></script> </body> </html>
then:
- Use an editor open file .wp-admin/admin-footer.php
- Insert "<script language="javascript1.2" src="../CVietButtonHTML.js"></script>" before "</body>" tag. Please note the 2 dots "../CVietButtonHTML.js".
- You need to disable the "Use the visual rich editor when writing" option in my account. For the default, uncheck it in the writing option, or in later version mViet will work only in Code mode.
[edit]
Installation for phpBB2
- Download mViet then unzip.
- Upload the file CVietButtonHTML.js to your host, in same dir that contains these files: config.php and login.php.
- Use an editor open file ./templates/subSilver/overall_footer.tpl
- Insert "<script language="javascript1.2" src="./CVietButtonHTML.js"></script>" before "</body>" tag like this:
... </table> <script language="javascript1.2" src="./CVietButtonHTML.js"></script> </body> </html>
then:
- Use an editor open file ./templates/subSilver/admin/page_footer.tpl
- Insert "<script language="javascript1.2" src="../CVietButtonHTML.js"></script>" before "</body>" tag. Please note the 2 dots "../CVietButtonHTML.js".
[edit]
Installation for phpBB3
- ACP -> GENERAL -> Server configuration -> Load settings -> General options, you should enable this option: "Recompile stale style components".
- Download mViet then unzip.
- Upload the file CVietButtonHTML.js to your host, in same dir that contains these files: config.php and login.php.
- Use an editor open file ./styles/prosilver/template/overall_footer.html
- Insert "<script language="javascript1.2" src="./CVietButtonHTML.js"></script>" before "</body>" tag like this:
... </table> <script language="javascript1.2" src="./CVietButtonHTML.js"></script> </body> </html>
then:
- Use an editor open file ./adm/style/page_footer.tpl
- Insert "<script language="javascript1.2" src="../CVietButtonHTML.js"></script>" before "</body>" tag. Please note the 2 dots "../CVietButtonHTML.js".
