-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
同文内置多语言键盘label #738
Comments
考虑到易于编辑,拟定使用csv档案存储label的信息。
|
事实上,处理label多语言的问题有些i18n或者icu的味道。 关联的问题是,键盘本地化不止是label,还意味着输入符号和字母的本地化。这一点可以参考floris——但是按照rime现状看似乎不必如此。 |
我把多语言的模式设想的太简单了。
总的来说,考虑到同文主要用户为中文,并且并没有多少其他语言的方案,可能只做如下适配:
|
太麻烦了,考虑搁置此issue |
再次考虑做一点程度的实现。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
目前键盘按键的label是在皮肤内写死的,无论是皮肤还是输入法,都没有多语言支持
Describe the solution you'd like
同文输入法内置多语言的按键配置信息,当皮肤未指定label或者皮肤指定键盘语言时,自动显示预设label。
这件事情可以得到额外的好处是可以减少预设按键的数量(为了显示label和按键气泡文字,不得不设置按键),同时进一步解决shift按下后的label的显示问题。
另外,同文虽然支持四向滑动及长按,但是无法正常显示label。用不不得不通过自己设置label、hint、symbol拼接出按键提示来。需要使用规则,自动显示这些信息。
Describe alternatives you've considered
Additional context
Android.jar (API 31)的keycode与trime.yaml的对照表。可以看到两者高度相似,所以产生的问题不会太多,可以快速调整皮肤来解决
The text was updated successfully, but these errors were encountered: