Page MenuHomePhabricator

Add input method for Latin Kurdish alphabet
Closed, ResolvedPublic

Description

Hi, After discussing on ku.wikipedia, we would like add 2 input method for Latin Kurdish alphabet:

First method: "Kurdî h" or "Kurdkî h"

Almost similar method to what was done for "Esperanto h" (see: Universal Language Selector --> Esperanto h). This is a input method for the diacritical letters (Şş, Çç, Ẍẍ, Ḧḧ, Ûû, Êê, Îî).

Desired input method:

  • sh → ş (shh → sh) // Sh → Ş (Shh → Sh)
  • ch → ç (chh → ch) // Ch → Ç (Chh → Ch)
  • xh → ẍ (shh → xh) // Xh → Ẍ (Xhh → Xh)
  • hh → ḧ (hhh → hh) // Hh → Ḧ (Hhh → Hh)
  • uu → û (uuu → uu) // Uu → Û (Uuu → Uu)
  • ee → ê (eee → ee) // Ee → Ê (Eee → Ee)
  • ii → î (iii → ii) // Ii → Î (Iii → Ii) ---------------------------------------

Second method: "Kurdî tr" or "Kurdkî tr"

This is an adaptation of Kurdish alphabet for the turkish keyboard.

Desired input method:

  • ı → i (ıı → ı)
  • i → î (ii → i) // İ → Î (İi → İ)
  • ü → û (üü → ü) // Ü → Û (Üü → Ü)
  • ö → ê (öö → ö) // Ö → Ê (Öö → Ö)
  • ğ → ẍ (ğğ → ğ) // Ğ → Ẍ (Ğğ → Ğ)
  • hh → ḧ (hhh → hh) // Hh → Ḧ (Hhh → Hh) ---------------------------------------

These input methods are possible? Thank you in advance.

PS: Can we integrate it in the "Universal Language Selector" to test it on ku.wikipedia and diq.wikipedia?

ANNEX:

Latin Kurdish alphabet has 31 letters (+ 2 letters Ẍẍ, Ḧḧ). Alphabetical order:
Aa · Bb · Cc · Çç · Dd · Ee · Êê · Ff · Gg · Hh · Ii · Îî · Jj · Kk · Ll ·
Mm · Nn · Oo · Pp · Qq · Rr · Ss · Şş · Tt · Uu · Ûû · Vv · Ww · Xx · Yy · Zz

26 letters like the English language + 7 diacritical letters (Çç, Êê, Îî, Şş, Ûû, Ẍẍ, Ḧḧ)

This alphabet is used by ku.wiki and diq.wiki.

For the ku.wiki the name is:

Kurdî:

  • Kurdî h
  • Kurdî tr

For the diq.wiki the name is:

Kurdkî:

  • Kurdkî h
  • Kurdkî tr

Version: unspecified
Severity: enhancement

Details

Reference
bz50220

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:06 AM
bzimport set Reference to bz50220.
bzimport added a subscriber: Unknown Object (MLST).

Please have a look at jquery.ime. This is doable for most JavaScript skill levels.

https://github.com/wikimedia/jquery.ime

(In reply to comment #1)

Please have a look at jquery.ime. This is doable for most JavaScript skill
levels.

https://github.com/wikimedia/jquery.ime

Thank you. I based myself on Esperanto to do this:

(In reply to comment #2)

Thank you. I based myself on Esperanto to do this:
[..]

Pretty awesome. Do you think you can manage to get those files as patches in GitHub? If you require specific knowledge, please let us know. We can point you to plenty of resources that could assist you in getting it done.

(In reply to comment #3)

(In reply to comment #2)

Thank you. I based myself on Esperanto to do this:
[..]

Pretty awesome. Do you think you can manage to get those files as patches in
GitHub? If you require specific knowledge, please let us know. We can point
you
to plenty of resources that could assist you in getting it done.

Oh, before I forget... Please also make sure to add tests for the new keyboard mappings. The helps us to ensure that they work as you expect them to work, especially because we cannot verify it any other way... Tests are here, including documentation on how to add tests:

https://github.com/wikimedia/jquery.ime/tree/master/test

(In reply to comment #4)

Oh, before I forget... Please also make sure to add tests for the new
keyboard
mappings. The helps us to ensure that they work as you expect them to work,
especially because we cannot verify it any other way... Tests are here,
including documentation on how to add tests:

https://github.com/wikimedia/jquery.ime/tree/master/test

It's done but I think there is a character encoding problem...

I merged it. I seems to be OK to me. Please reopen if anything is wrong.

(In reply to comment #7)

I merged it. I seems to be OK to me. Please reopen if anything is wrong.

Thank you! I saw also that you changed the names "Ku h" and "Ku tr" with "Kurdî-h" and "Kurdî-tr": it is better but this alphabet is also used by diq.wikipedia (Zazaki). In Zazaki, it is "Kurdkî-h" and "Kurdkî-tr" (see comment #1). As we can not have both possibility, I thought this intermediate solution.
If we can not have both possibility, I think we should put the old name.