New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP Add Chinese keyboards #876
base: v3-main
Are you sure you want to change the base?
Conversation
Disable AddToDictionaryKey in ascii mode
add DictionaryLanguageForRime Setting remove empty Chinese dic
put all Chinese keyboard in same folder
this change will make Rime auto commit selected candidate
I've asked a chinese friend to clarify some things for me, but in the meantime these are the existing issues I think are present:
|
Great to have some clear guidance. Thank you
…On Thu, 29 Jun 2023, 14:18 kmcnaught, ***@***.***> wrote:
@JuliusSweetland <https://github.com/JuliusSweetland>
I've asked a chinese friend to clarify some things for me, but in the
meantime these are the existing issues I think are present:
- "Clear" sometimes clears the RIME input (i.e. removes suggestions)
without clearing the scratchpad. It needs to clear both
- I don't think "Back Word" works
- I need to ask for clarification on how it would be expected to
work
- When switching between Chinese and English or vice versa, the
prediction still contains part of what was already typed leading to various
strange behaviours. Something needs to change here but I've asked for
clarification on what would be reasonable, for example:
- auto-add a space when switching from chinese to english? Should
it take the current top prediction, or clear the current input?
- clear any un-used input when switching from english to chinese?
- When switching from Chinese to english, sometimes the predictions
bar misbehaves, with the wrong term highlighted due to the shift from 4 ->
6 suggestions giving a weird scaling bug. This might disappear if we are
clearing suggestions when switching.
—
Reply to this email directly, view it on GitHub
<#876 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABEA7ANR7M63QPPVSJYC72LXNV6AXANCNFSM6AAAAAASTIR5LY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I've been reviewing how the language is set in the installer, which needed some minor changes. Note that the Languages enum has been slightly overloaded - there is a single I'm not proposing this refactoring is essential now, but flagging it as something that should be considered next time we poke the nest. And it's important context for the following remarks. In the installer, we allow people to choose a language, and (until now) use it for both the UI language and keyboard language. This can be separated in the management console if people want them to be different. This doesn't work for chinese though, because the list of available Chinese UI languages and Chinese keyboard languages are disjoint. We also have a bunch of preexisting logic which tries to be smart about defaulting to the local culture if possible (e.g. if Windows is in French, you have "French" preselected in the languages dropdown but can choose another). What I've done, which I think is reasonable given the current constraints, is this:
|
@JuliusSweetland this branch is now ready for testing both Chinese + touch input. You should be able to make an installer fine if required, or just share the |
Original discussion: #798
Support Chinese keyboards by integrate Rime Input Method Engine
Features:
TODO
support stroke keyboard https://github.com/rime/rime-stroke
Known issues
'rimePreedit' not reset when leave a keyboard
Library:
librime 1.7.3