Giter Club home page Giter Club logo

windowschineseinput's Introduction

WindowsChineseInput

Collection of things to fix Chinese Input on Windows (10). This is meant for when trying to input Traditional Chinese using Pinyin.

Contents:

1) Fix keyboard layout for Pinyin:

(Credit to this website for finding the trick to switch the layout)

  • 'regedit' as admin, go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\, and find your normal layout. For example, UK is at Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000809 and the Layout File is KBDUK.DLL. Make a note of this DLL file.
  • Change the DLL file for Chinese at Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000404. It is also recommended to change it for Simplified Chinese, just in case (Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00000804).
  • Restart or log out and back in.
  • Now open notepad.exe and switch to chinese input, input should now use your chosen region instead of US/American.

2) Add correct quotes (He wrote「Hello World」):

This will require autohotkey in some form.

There is a script available at /QuotationMarks/ZH.ahk in this repository. If you have autohotkey installed and registered for .ahk files, you can download the file to shell:startup to make it run on Windows logon. This will let you type the correct quotes for traditional chinese by pressing Alt+[ and Alt+] respectively.

3) Cosmetic changes (Rename Chinese (Simplified, China) to Chinese (Pinyin)):

This is purely cosmetic. This will rename the name of the keyboard layout from "Simplified, China" to simply "Pinyin" when using chinese to more accurately reflect the fact that pinyin can be used anywhere people want and is not restricted to simplified characters.

The long term effects are not tested, but there have been no sideeffects found by using this. It is recomended you manually change the values using regedit, and make a backup of your current values first. Nevertheless, the original values I had have been provided for reference.

windowschineseinput's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.