-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add layout of Gujarati language #417
Comments
See https://github.com/Helium314/openboard/blob/new/layouts.md for how to add layouts. |
I have tried to create layout text file as in mentioned in the link you shared. There are too many characters to fit in layout and there's no "capital" or "small" letters in Gujarati, very similar to Hindi language, so I think we can use shift key Off for page-1, shift key On for page-2? I don't know how to use that in layout, I also checked Hindi language layout but it wasn't much help, so I tried to create two separate files for shift key On and for shift key Off. The order of characters should be consistent with any other layouts? If not, then i tried to create a layout similar to GBoard Gujarati layout. Please have a look at two txt files. |
If it's different for shift, a json layout file is necessary, see e.g. https://github.com/Helium314/openboard/blob/new/app/src/main/assets/layouts/hindi.json where a key has two entries, for shifted state and for default. I can do this, but it may take a while until I find time for it. |
I have created a json file as per your instructions from other two links. Please verify syntax validity. I have added rupee symbol for gujarati as one of the pop-ups, so no need to add it in currency pop-up. I already provided gujarati numbers file in previous comment. |
Thanks, I'll have a look at this tomorrow. |
Pop-up keys on line 67 , 75, 79 are not visible for me on my android phone (android 8.1). Please verify if they are visible or not on newer android version. They are visible on linux tho. |
Android 8 supports Unicode 9.0, but some characters were added in 10.0. |
Maybe there is some other issue. On Android 9 it should work, but doesn't for me. |
You can try this version: openboard_1.4.5-release.zip. Is anything else needed for the layout? Like a ZWNJ key, or a different symbol instead of |
Alright. I submit new json file with faulty characters from different source. Lets see if it works. Can you also provide me compiled apk for this? |
openboard_1.4.5-release.zip with |
Yeah, that was by mistake left blank. Everything looks great and works as intended. Just one small problem. Few characters still looks smaller than others in keyboard layout but works normal as others (as intended). Any idea why is it like this? or how to fix this? |
Only this, or also for |
Yes also for |
Normally the key text is reduced in size if it's more than one character. It sometimes starts reducing text size too early. In this case, a |
There is no layout of Gujarati language in the current version. Dictionary would not be required tho. I am not sure how new layouts can be added. If it requires only translations without any technical knowledge, I can contribute.
The text was updated successfully, but these errors were encountered: