Page 1 of 1

Native language keyboard

PostPosted: Mon Mar 27, 2017 3:01 am
by gautham01986
Hi,

I am looking to develop a native language keyboard for Sanskrit in Open Office.
The keyboard would translate phonetic keystrokes into native fonts.

Question-
The extension has to be tuned ON ONCE by the user to switch from English to native mode. Post that, every text entered has to be "transliterated" by the extension. At the end, the user will turn OFF to switch back to english mode. How can this be achieved?


Thanks!

Re: Native language keyboard

PostPosted: Mon Mar 27, 2017 6:33 am
by Zizi64
I am looking to develop a native language keyboard for Sanskrit in Open Office.

The Keyboard layout, and handling the keystrokes are not part of the Apache Openoffice or LibreOffice. This function is related to the operating system.
Install a Sanskrit keyboard layout into onto your op. sys. for your physical keyboard:

https://ubcsanskrit.ca/keyboards.html

You can toggle the layouts by the specific function of your operating system,.
Or you can find some Sanskrit virtual keyboard softwares, and online Sanskrit keyboards by the Google.
https://www.google.hu/search?q=sanskrit ... l+online&*

Re: Native language keyboard

PostPosted: Mon Mar 27, 2017 10:00 am
by JeJe
With a KeyHandler you can change a keystroke into anything you want.

https://www.openoffice.org/api/docs/com ... ndler.html

Re: Native language keyboard

PostPosted: Wed Mar 29, 2017 7:17 am
by gautham01986
Thanks JeJe! That helps! Is there a sample implementation that I can look at?

Re: Native language keyboard

PostPosted: Wed Mar 29, 2017 7:25 am
by gautham01986
Zizi64 wrote:
I am looking to develop a native language keyboard for Sanskrit in Open Office.

The Keyboard layout, and handling the keystrokes are not part of the Apache Openoffice or LibreOffice. This function is related to the operating system.
Install a Sanskrit keyboard layout into onto your op. sys. for your physical keyboard:

https://ubcsanskrit.ca/keyboards.html

You can toggle the layouts by the specific function of your operating system,.
Or you can find some Sanskrit virtual keyboard softwares, and online Sanskrit keyboards by the Google.
https://www.google.hu/search?q=sanskrit ... l+online&*


Thanks for the reply. The usecase involves multiple switches b/w languages within a document, so using the OS keyboard layout isn't the best experience. Also, the UCA keyboard for sanskrit isn't very intuitive. We have used Tavultesoft Keyman in the past, but it doesn't work on Mac.

Re: Native language keyboard

PostPosted: Wed Mar 29, 2017 10:33 am
by JeJe