-
Notifications
You must be signed in to change notification settings - Fork 176
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
Languages Names(2) #2064
Comments
Thank you for compiling the report again. Can you attach the output of |
This is the xml for just the Northern Thai keyboard. I'll attach the full file with my currently installed keyboards which has other examples separately.
|
example output of ibus-keyman-engine --xml with a few Keyman keyboards installed |
OK, why do you wish to use "nod" instead of "th" in the engine compose file? |
Northern Thai probably wasn't a helpful example. The language is a separate language from Thai so I can't get "th" when generating the IBusEngineDesc. Also, this keyboard is for input in the Lana script not the Thai script so it definitely doesn't support the "th" language. Another example is Tai Nüa "tdd" which doesn't have something else you could use. Sorry, yes, ibus_get_language_name() and other places that parse the iso_639.xml is what I changed in the PR #2061 The languages only appear in ibus-setup if you have installed keyboards to support them so I don't think they should be a noticable increase unless you choose to install a lot of keyboards. |
OK. Since there are multiple categories for Greek and Indic, probably I'm fine to use multiple categories for Thai.
You don't have to mind the referred script but ibus_get_language_name() only Probably it's better to use /usr/share/iso-codes/json/iso_639-3.json with glib-json since the xml files have a comment that files are deprecated. But I have no time at the moment. |
I agree that iso_639-3.json is better to use because the xml files are deprecated and may disappear at some point. I'll work on that soon. |
Keyman and others support them so they shouldn't be in "Other" BUG=#2064
Thank you for the patch and integrated the most part. |
Thanks :) I've got the change from using xml files to json basically done but I still want to test it before I submit the PR. |
Please fill in the following items if you don't know the root cause.
Which distribution and version?:
Ubuntu bionic, Debian buster
Which desktop environment and version?:
GNOME 3.28, MATE 1.20.1
Which session type?:
X11
Which application and version?:
ibus-setup 1.5.17
using ibus-keyman 10.99.45 (https://downloads.keyman.com/linux/alpha/10.99.45/ibus-keyman-10.99.45.tar.gz which requires https://downloads.keyman.com/linux/alpha/10.99.45/keyman-keyboardprocessor-0.0.0~201812051519.tar.gz as a build dependency and also https://downloads.keyman.com/linux/alpha/10.99.45/keyman_config-10.99.45.tar.gz for installing Keyman keyboards)
But it can be demonstrated with other ibus-engines
IBus version?:
1.5.17
Issue description:
If you create an IBusEngineDesc with a language that isn't in iso 639-2 then it is given language "Other" e.g. Northern Thai (iso 639-3 code "nod") instead of the name of the language
Steps to reproduce:
Can you reproduce your problem when you restart ibus-daemon? (yes / no):
yes
Do you see any errors when you run ibus-daemon with the verbose option?:
no
Can you reproduce your problem with a new user account instead of the current your account? (yes / no):
yes
This is #2062 in the template
The text was updated successfully, but these errors were encountered: