Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
Find a file
Marc Durdin a8a19b2a2e fix(windows): handle edge cases using default language
Fixes #5091.

If the user has a default language that is not a minimal BCP47 tag, such
as `zh-Hans-CN` vs `zh-CN`, or if the default language does not have a
mapping in our `TLanguageCodeUtils.TranslateWindowsLanguagesToBCP47`
function, then kmshell would crash on install of a keyboard that had no
language metadata specified (i.e. neither legacy metadata in .kmx nor
modern metadata in .kmp).

This crash arose because the elevated instance of kmshell would install
a local-machine reference to `zh-CN` (as it back-translated from a
LangID), but the current user install would look for `zh-Hans-CN`, read
from the Windows registry `HKCU\Control Panel\International\User Profile`.

To further complicate matters, it is possible for the current user to
have a different default language than the elevated user on the machine.
Keyman was assuming that the default language was the same in both
cases.

This fix passes in the current user's default BCP47 and LangID to the
elevated portion of the keyboard install, so we can guarantee that
keyboard install which needs to use the default language, actually
installs for the current user's actual language code, and not a
canonicalized version (or a totally different code in the case of
elevation to an alternate admin user account).
2021-09-17 06:37:23 +10:00
.github Update .github/workflows/crowdin.yml 2021-09-14 07:41:04 +07:00
android Merge pull request #5664 from keymanapp/fix/android/override-numeric-field 2021-09-13 14:46:26 +07:00
common auto: increment master version to 15.0.114 2021-09-16 14:01:56 -04:00
developer auto: increment master version to 15.0.114 2021-09-16 14:01:56 -04:00
docs Update docs/linux-packaging.md 2021-08-25 15:04:46 +02:00
ios fix(ios): release-version tagging for errors from sys keyboard 2021-09-15 12:09:45 +07:00
linux Merge pull request #5655 from keymanapp/fix/linux/language 2021-09-01 09:05:47 +02:00
mac Merge pull request #5324 from keymanapp/docs/shared-build-docs 2021-07-01 11:57:09 +10:00
oem/firstvoices docs(ios): tweaks build-script help for new flag 2021-08-06 08:16:58 +07:00
resources auto: increment master version to 15.0.114 2021-09-16 14:01:56 -04:00
web auto: increment master version to 15.0.114 2021-09-16 14:01:56 -04:00
windows/src fix(windows): handle edge cases using default language 2021-09-17 06:37:23 +10:00
.clang-format chore(common): Add C++ formatting rules 2021-07-29 18:50:25 +02:00
.editorconfig fix(linux): add more package requirements 2020-02-06 18:26:57 +01:00
.flake8 feat(linux): Install keyboard on Gnome 2020-06-24 19:13:40 +02:00
.gitignore chore(linux): Consolidate Debian source packages 2021-08-06 11:25:00 +02:00
configure-repo.sh feat(common): Support git worktree when configuring local hooks 2020-02-24 18:30:57 +01:00
crowdin.yml chore(common): Check in crowdin strings for Spanish (Latin America) 2021-06-11 07:33:56 +07:00
HISTORY.md auto: increment master version to 15.0.114 2021-09-16 14:01:56 -04:00
lerna.json auto: increment master version to 15.0.114 2021-09-16 14:01:56 -04:00
package-lock.json chore(common): updates lerna to 4.0.0 2021-07-02 14:47:28 +07:00
package.json chore(common): updates lerna to 4.0.0 2021-07-02 14:47:28 +07:00
README.md chore: Add localization progress badge 2021-02-04 11:40:34 +07:00
TIER.md chore: start history/version infrastructure 2020-01-29 08:54:32 +11:00
VERSION.md auto: increment master version to 15.0.114 2021-09-16 14:01:56 -04:00

Keyman

Keyman makes it possible for you to type in any language on Windows, macOS, Linux, iPhone, iPad, Android tablets and phones, and even instantly in your web browser. Create keyboard layouts with Keyman Developer and share them with the community in the keyboards repository. The Keyman Community have already contributed keyboard layouts for over 1,500 languages!

Keyman is an open source project distributed under the MIT license.

Get Involved

Crowdin

Get involved

Development Status on status.keyman.com

Platform Alpha Beta Stable
Windows Alpha Beta Stable
macOS Alpha Beta Stable
Web Alpha Beta Stable
Android Alpha Beta Stable
iOS Alpha Beta Stable
Linux Alpha Beta Stable

Getting Started

Desktop Platforms

Web & Mobile Platforms

Release Types

Each platform maintains multiple types of releases:

  • Stable: A released version. On a stable or stable-<version> branch.
  • Beta: A version that is nearing full "stable" release. On the beta branch.
  • Alpha: Contains the very latest code. These versions are published daily whenever the code changes. On master branch.

License

Copyright (c) 2018-2021 SIL International. All rights reserved.

Licensed under the MIT License.

Keyman for Linux is licensed under the MIT License apart from ibus-kmfl which is licensed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Notes for Contributors

When cloning this repo for local development on a Windows machine, take care not to place it overly deep in your file system. Some of the paths for compilation can push character lengths around 160 characters long, while certain operations on Windows systems may be limited to paths of 260 characters or less. For example, git clean on Windows with msys is limited due to dependence on older Windows APIs.