https://fedoraproject.org/wiki/Changes/Ibus_typing_booster_default_for_india...
== Summary == Make ibus-typing-booster the default input method for Indian languages.
== Owner == * Name: [[User:Mfabian|Mike Fabian]] * Email: mfabian@redhat.com
== Detailed Description == Currently, ibus-m17n is the default input method for Indian languages in Fedora. ibus-typing-booster uses the same libm17n used by ibus-m17n to support input for Indian languages and thus it can do everything ibus-m17n can do. But on top of that, ibus-typing-booster supports predictive input by remembering user input and by using words from dictionaries. Therefore, ibus-typing-booster is a more useful input method for these languages.
== Benefit to Fedora == A better input experience for users of Indian languages.
== Scope == * Proposal owners: The langtable package has data about default input methods. Change this data. But the data in langtable is currently apparently not used by gnome-initial setup. The list of default input methods used by gnome-initial-setup us stored in
<pre> libgnome-desktop/default-input-sources.h </pre>
Currently there are the following default input methods for the Indian locales:
<pre> static DefaultInputSource default_input_sources[] = { ... { "as_IN", "ibus", "m17n:as:phonetic" }, ... { "bn_IN", "ibus", "m17n:bn:inscript" }, ... { "gu_IN", "ibus", "m17n:gu:inscript" }, ... { "hi_IN", "ibus", "m17n:hi:inscript" }, ... { "kn_IN", "ibus", "m17n:kn:kgp" }, ... { "mai_IN", "ibus", "m17n:mai:inscript" }, ... { "ml_IN", "ibus", "m17n:ml:inscript" }, ... { "mr_IN", "ibus", "m17n:mr:inscript" }, ... { "or_IN", "ibus", "m17n:or:inscript" }, ... { "pa_IN", "ibus", "m17n:pa:inscript" }, ... { "sd_IN", "ibus", "m17n:sd:inscript" }, ... { "ta_IN", "ibus", "m17n:ta:tamil99" }, ... { "te_IN", "ibus", "m17n:te:inscript" }, ... { "ur_IN", "ibus", "m17n:ur:phonetic" }, ... </pre>
Here, "m17n:as:phonetic" would need to be replaced with "typing-booster". And similar for the other Indian languages.
ibus-typing-booster selects the default input method to use from the locale when it is first started. For the above Indian locales ibus-typing-booster >= 2.4.2 has the same default m17n input methods as libgnome-desktop/default-input-sources.h, except that it always uses inscript2 instead of inscript by default.
* Other developers: N/A (not a System Wide Change) * Policies and guidelines: N/A (not a System Wide Change) * Trademark approval: N/A (not needed for this Change)
== Upgrade/compatibility impact == Nothing should happen when upgrading from a previous version of Fedora. If a user used ibus-m17n before the upgrade, he will still use it after the upgrade. This change proposal only changes the default input method for an Indian language for new installs or new user accounts.
== How To Test == Do a new installation of Fedora 30 in an Indian language. Log into Gnome. See what input method is suggested by default by gnome-initial-setup.
== User Experience == Easier input of Indian language because of predictive input.
== Dependencies == gnome-initial-setup
== Contingency Plan == * Contingency mechanism: Leave the default input methods as they are now and move the change to Fedora 31 * Contingency deadline: Fedora 30 Beta release * Blocks release? No. * Blocks product? No.
Currently, ibus-m17n is the default input method for Indian languages in Fedora. ibus-typing-booster uses the same libm17n used by ibus-m17n to support input for Indian languages and thus it can do everything ibus-m17n can do. But on top of that, ibus-typing-booster supports predictive input by remembering user input and by using words from dictionaries. Therefore, ibus-typing-booster is a more useful input method for these languages.
== Benefit to Fedora == A better input experience for users of Indian languages.
How would I try this out in Fedora 29?
I see that I have ibus-typing-booster installed, but I don't see any sign of it in the GNOME "Region & Language" panel input source selection. Does ibus-typing-booster look like one input support for each supported language, or does it look like a single input source?
Thanks! Owen
On Mon, Jan 28, 2019 at 8:04 AM Owen Taylor otaylor@redhat.com wrote:
I see that I have ibus-typing-booster installed, but I don't see any sign of it in the GNOME "Region & Language" panel input source selection. Does ibus-typing-booster look like one input support for each supported language, or does it look like a single input source?
ibus Typing Booster used to expose separate Input Sources for each language it supports, but in 2.0 we unified it to a single Input Source under Other languages.
Hope that helps, Jens
OK, so trying it out, I note the following:
* The top panel shows a full-color rocket where the current language would normally be indicated (this needs to be monochromatic, but it also needs to be meaningful) * There is no I can find to use ibus-typing-booster to type in something other than the current locale. I'd imagine that typing in more than one Indian script is a real use case? In any case, the design is that input sources are per-language and you switch input source to switch input language. * Under wayland (at least), there is severe flashing where the candidate window disappears and appears for every keystroke.
Presumably we have feedback from native speakers that the ibus-typing-booster makes things better for them - but I think we need to address the above issues to make the switch over.
Owen
I don't have any
Owen
On Mon, Jan 28, 2019 at 4:57 AM Jens-Ulrik Petersen petersen@redhat.com wrote:
On Mon, Jan 28, 2019 at 8:04 AM Owen Taylor otaylor@redhat.com wrote:
I see that I have ibus-typing-booster installed, but I don't see any sign of it in the GNOME "Region & Language" panel input source selection. Does ibus-typing-booster look like one input support for each supported language, or does it look like a single input source?
ibus Typing Booster used to expose separate Input Sources for each language it supports, but in 2.0 we unified it to a single Input Source under Other languages.
Hope that helps, Jens _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Owen Taylor otaylor@redhat.com さんはかきました:
Currently, ibus-m17n is the default input method for Indian languages in Fedora. ibus-typing-booster uses the same libm17n used by ibus-m17n to support input for Indian languages and thus it can do everything ibus-m17n can do. But on top of that, ibus-typing-booster supports predictive input by remembering user input and by using words from dictionaries. Therefore, ibus-typing-booster is a more useful input method for these languages.
== Benefit to Fedora == A better input experience for users of Indian languages.
How would I try this out in Fedora 29?
I see that I have ibus-typing-booster installed, but I don't see any sign of it in the GNOME "Region & Language" panel input source selection. Does ibus-typing-booster look like one input support for each supported language, or does it look like a single input source?
It looks like a single input source. Here are some screen shots how to add it using the GNOME "Region & Language" panel:
http://mike-fabian.github.io/ibus-typing-booster/documentation.html#adding-g...
It is listed under “Other” in the GNOME "Region & Language" panel input source selection.
That is because it use “<language>t</language>” here:
$ /usr/libexec/ibus-engine-typing-booster --xml <engines> <engine> <name>typing-booster</name> <longname>Typing Booster</longname> <language>t</language> <license>GPL</license> <author>Mike FABIAN <mfabian@redhat.com>, Anish Patil <anish.developer@gmail.com></author> <icon>/usr/share/ibus-typing-booster/icons/ibus-typing-booster.svg</icon> <layout>default</layout> <description>A completion input method to speedup typing.</description> <symbol>🚀</symbol> <setup>/usr/libexec/ibus-setup-typing-booster</setup> <icon_prop_key>InputMode</icon_prop_key> </engine> </engines>
At the moment, ibus supports only one language in the “<language>t</language>” tag. And as ibus-typing-booster supports many languages, “<language>en</language>” does not seem right, it would look like it supports only English. So only “t” for “Other” seems appropriate at the moment. But it is a bit hard to find in “Other” in the GNOME "Region & Language" panel.
When ibus-typing-booster is first used, it defaults to dictionaries and m17n-input-methods appropriate to the locale it is first started in.
/usr/share/ibus-typing-booster/engine/itb_util.py contains the defaults, for example for Marathi it has:
LOCALE_DEFAULTS = { ... 'mr_IN': {'inputmethods': ['mr-inscript2', 'NoIme'], 'dictionaries': ['mr_IN', 'en_GB']}, ...
So when the locale is mr_IN.UTF-8 while ibus-typing-booster is first started, it defaults to the two input methods 'mr-inscript2' (a Marathi input method) and 'NoIme' (that is direct keyboard input, useful for English) and the dictionaries for mr_IN and for en_GB.
This can be changed in the setup tool of ibus-typing-booster, one can choose up to 10 input methods and 10 dictionaries at the same time.
Thanks! Owen _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Hi folks,
If it's not a single input source, I'd think it could be an idea to implement the languages tag besides language tag in that ibus compose file.
Fujiwara
On 2019/01/29 15:33, Mike FABIAN-san wrote:
Owen Taylor otaylor@redhat.com さんはかきました:
Currently, ibus-m17n is the default input method for Indian languages in Fedora. ibus-typing-booster uses the same libm17n used by ibus-m17n to support input for Indian languages and thus it can do everything ibus-m17n can do. But on top of that, ibus-typing-booster supports predictive input by remembering user input and by using words from dictionaries. Therefore, ibus-typing-booster is a more useful input method for these languages.
== Benefit to Fedora == A better input experience for users of Indian languages.
How would I try this out in Fedora 29?
I see that I have ibus-typing-booster installed, but I don't see any sign of it in the GNOME "Region & Language" panel input source selection. Does ibus-typing-booster look like one input support for each supported language, or does it look like a single input source?
It looks like a single input source. Here are some screen shots how to add it using the GNOME "Region & Language" panel:
http://mike-fabian.github.io/ibus-typing-booster/documentation.html#adding-g...
It is listed under “Other” in the GNOME "Region & Language" panel input source selection.
That is because it use “<language>t</language>” here:
$ /usr/libexec/ibus-engine-typing-booster --xml <engines> <engine> <name>typing-booster</name> <longname>Typing Booster</longname> <language>t</language> <license>GPL</license> <author>Mike FABIAN <mfabian@redhat.com>, Anish Patil <anish.developer@gmail.com></author> <icon>/usr/share/ibus-typing-booster/icons/ibus-typing-booster.svg</icon> <layout>default</layout> <description>A completion input method to speedup typing.</description> <symbol>🚀</symbol> <setup>/usr/libexec/ibus-setup-typing-booster</setup> <icon_prop_key>InputMode</icon_prop_key> </engine> </engines>At the moment, ibus supports only one language in the “<language>t</language>” tag. And as ibus-typing-booster supports many languages, “<language>en</language>” does not seem right, it would look like it supports only English. So only “t” for “Other” seems appropriate at the moment. But it is a bit hard to find in “Other” in the GNOME "Region & Language" panel.
When ibus-typing-booster is first used, it defaults to dictionaries and m17n-input-methods appropriate to the locale it is first started in.
/usr/share/ibus-typing-booster/engine/itb_util.py contains the defaults, for example for Marathi it has:
LOCALE_DEFAULTS = { ... 'mr_IN': {'inputmethods': ['mr-inscript2', 'NoIme'], 'dictionaries': ['mr_IN', 'en_GB']}, ...
So when the locale is mr_IN.UTF-8 while ibus-typing-booster is first started, it defaults to the two input methods 'mr-inscript2' (a Marathi input method) and 'NoIme' (that is direct keyboard input, useful for English) and the dictionaries for mr_IN and for en_GB.
This can be changed in the setup tool of ibus-typing-booster, one can choose up to 10 input methods and 10 dictionaries at the same time.
Thanks! Owen _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org