Skip to content

[kannada_kgp] Kannada KGP keyboard - #4229

Merged
LornaSIL merged 5 commits into
keymanapp:masterfrom
prasadus92:kannada_kgp
Nov 30, 2026
Merged

LornaSIL merged 5 commits into
keymanapp:masterfrom
prasadus92:kannada_kgp

Conversation

@prasadus92

Copy link
Copy Markdown
Contributor

Kannada KGP is a keyboard for the KGP (Kannada Ganaka Parishat) phonetic layout, the Government of Karnataka standard and the layout Nudi uses. Government staff in Karnataka learned to type Kannada on it. None of the Kannada keyboards in this repo implement it, and people ask for it on phones, where Gboard and the Samsung keyboard don't offer it.

  • f after a consonant is the virama and joins the next consonant: knfnw types ಕನ್ನಡ.
  • ff keeps the virama visible with ZWNJ (nffn types ನ್‌ನ). F after ರ types ZWJ and virama, so ರ joins without an arkavattu (ArFy types ಆರ‍್ಯ).
  • X types the variant of the letter before it: ಱ (rX), ೞ (LX), ಽ (sX), ಜ಼ (jX), ೝ (nfX).

The rules follow jquery.ime's kn-kgp layout, including the joiner fix proposed in wikimedia/jquery.ime#876. The touch layout keeps the KGP key positions and puts the rarer letters on long press. The help page lists every key.

I tested it in Keyman Core 18 and KeymanWeb 18.0.255:

  • 116 key sequences give the expected text in both engines, and 3,000 more sequences give the same text in both.
  • Over 57,458 sequences, including every 1 and 2 key sequence, the output matches jquery.ime's once its redundant ZWJ and ZWNJ are removed, except where jquery.ime has no rule and leaves a Latin X or f. The keyboard never types a joiner that changes nothing.
  • 199,966 of the 200,000 most frequent words on Kannada Wikipedia, written as KGP keys, type back exactly. The other 34 are misspelled or carry redundant characters.
  • 41 tap and long-press sequences on the phone layout give the expected text.
  • kmc build -W --for-publishing passes with kmc 18.0.235 and 18.0.255.

The KGP (Kannada Ganaka Parishat) phonetic layout, the standard Kannada layout of the
Government of Karnataka and the one the Nudi software uses, with a phone layout that
keeps the KGP key positions. It follows jquery.ime's KGP rules, and the text it types
is already in canonical form for the Open Kannada normalization profile.

Signed-off-by: Prasad Subrahmanya <prasadus92@gmail.com>
Signed-off-by: Prasad Subrahmanya <prasadus92@gmail.com>
@keyman-server

Copy link
Copy Markdown
Collaborator

Thank you for your pull request. You'll see a "build failed" message until the Keyman team has reviewed the pull request and manually initiated the build process.

Every change committed to this branch will become part of this pull request. When you have finished submitting files and are ready for the Keyman team to review this pull request, please post a "Ready for review" comment.

@prasadus92

Copy link
Copy Markdown
Contributor Author

Ready for review

@LornaSIL

Copy link
Copy Markdown
Contributor

Thanks for your submission.

  • Could you please remove the copyright year everywhere EXCEPT for in the LICENSE.md? That way those locations won't have to be updated the next time the keyboards is updated.
  • If you could remove the version number from README.md that would also be helpful so it won't need updating each time.
  • If the phone and tablet layouts are the same, can you please remove the tablet layout? That way the two layouts don't need to be kept in sync, but they will still work on either phone or tablet devices.
  • You might want to include other weights of the Kannada font in the .kps. That would give people more options for at least Bold.

That's all I see. Thanks for a nice clean pull request.

…ayout, add Bold font

The copyright year stays only in LICENSE.md. The phone and tablet layouts were identical, so only the phone layout remains; Keyman uses it on tablets too. The package now also installs Noto Sans Kannada Bold.

Signed-off-by: Prasad Subrahmanya <prasadus92@gmail.com>
@prasadus92

Copy link
Copy Markdown
Contributor Author

Thanks for the review. I removed the copyright year everywhere except LICENSE.md, and the version number from README.md. The phone and tablet layouts were identical, so only the phone layout is left. The package now also includes Noto Sans Kannada Bold.

@prasadus92

Copy link
Copy Markdown
Contributor Author

Ready for review

…ayout

Signed-off-by: Prasad Subrahmanya <prasadus92@gmail.com>
prasadus92 added a commit to openkannada/nudi-keyboard that referenced this pull request Nov 26, 2026
The Kannada KGP keyboard for Keyman (desktop and phone), its generators, and tests that type through Keyman Core, KeymanWeb and jquery.ime's KGP rules. It is the same keyboard as keymanapp/keyboards#4229, including that PR's review changes.

No CI on this repo; locally 116/116 cases, 0 differences from jquery.ime #876 on 57,458 sequences (also in the keys before each X or f), 57,574 outputs unchanged by kannadi normalize, 1,116/1,116 KeymanWeb sequences equal to Keyman Core, 41/41 touch cases, and REUSE compliant. Reviewed independently; its findings are fixed.

Signed-off-by: Prasad Subrahmanya <prasadus92@gmail.com>

@LornaSIL LornaSIL left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LornaSIL
LornaSIL merged commit 5e77596 into keymanapp:master Nov 30, 2026
2 checks passed
@keyman-server

Copy link
Copy Markdown
Collaborator

Thank you for your contribution!

This keyboard has now been published and will shortly be available at: https://keyman.com/keyboards/kannada_kgp.

(There may be a delay of a few minutes for deployment of the keyboard to run across multiple services.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants