openboard-team / openboard

GNU General Public License v3.0
2.56k stars 253 forks source link

Add Chinese support #192

Open Manothave opened 3 years ago

Manothave commented 3 years ago

Languages requires: Chinese language, Japanese

Jakeyfu commented 3 years ago

Yes, we need Chinese/Japanese Language input support. Thanks.

jnnkB commented 3 years ago

Japanese is a duplicate of #103. I therefore changed the title to only contain Chinese.

kahnclusions commented 2 years ago

I wanted to clarify this issue because it's not so simple to just add Chinese.

Chinese also needs to be split into multiple languages, because of differences among Chinese speakers in the character sets and input methods they use. Chinese in the mainland typically write Simplified Chinese using Pinyin, whereas in Hong Kong they write Cantonese in Traditional Chinese using Cangjie or Jyutpin. And outside China you have Taiwanese people who write Traditional Chinese using Zhuyin. Singaporeans write Simplified using Pinyin as far as I know.

The dictionaries used for autocomplete are also important, because Taiwanese Mandarin is not just standard Chinese with traditional characters, they use different vocabulary and idioms, much like US vs British English. And if you really want to go the extra mile in this project, it should be easily extensible to support additional variants like Taiwanese Hokkien, for which the Taiwanese government has an official recommended character set, since the majority of Taiwanese also speak Hokkien.

As a starting point:

It's definitely not a simple piece of work.

Sheridanny commented 2 years ago

Hi @kahnclusions With simplified Chinese and pinyin input, one can cover mainland China, Singapore, and a good proportion of people in Hong Kong who are able to use both Traditional and Simplified Chinese.

GrimPixel commented 2 years ago

Hey, I know that Chinese support is hard to add. What about a cooperation with FlorisBoard? They want to do the same thing https://github.com/florisboard/florisboard/issues/149