Bug 4102 - Update Iranian layout to new standard
Summary: Update Iranian layout to new standard
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Persian
  Show dependency treegraph
 
Reported: 2005-08-15 12:20 UTC by Behnam Esfahbod [:zwnj]
Modified: 2009-09-17 07:35 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
New Iranian keyboard layout, based on proposed new standard (6.99 KB, patch)
2005-08-15 12:24 UTC, Behnam Esfahbod [:zwnj]
Details | Splinter Review
0001-Update-Iran-Persian-layout.patch (5.29 KB, patch)
2009-09-09 17:12 UTC, Behnam Esfahbod [:zwnj]
Details | Splinter Review

Description Behnam Esfahbod [:zwnj] 2005-08-15 12:20:10 UTC
I'll attach xkb file for new proposed standard file for Iranian layout.  It's
fully backward compatible and will be known as a national standard in a couple
months.  It uses 3 level and we propose AltGr for third level.
Comment 1 Behnam Esfahbod [:zwnj] 2005-08-15 12:24:03 UTC
Created attachment 2875 [details] [review]
New Iranian keyboard layout, based on proposed new standard

It has a default basic layout with 3 levels.  Also support optional 4th level
for ascii numbers.  It's not part of the standard, but useful for professional
users.	Also the keypad section is not part of standard, but it's the correct
behaviour, when apps/libs support Persian numbers in numeric widgets.
Comment 2 Behnam Esfahbod [:zwnj] 2005-08-15 12:38:06 UTC
I did a mistake and used xorg as product.  Now I change the product and reassign
to maintainer of xkb.
Comment 3 Sergey V. Udaltsov 2005-08-15 14:04:42 UTC
Absolutely correct to assign it to us. I will commit it ASAP.
Comment 4 Sergey V. Udaltsov 2005-08-15 16:26:07 UTC
committed to xkeyboard-config CVS
Comment 5 Behdad Esfahbod 2005-08-16 17:26:52 UTC
Thanks a lot.

Just to make sure, on my Fedora Core 4 I have two Ir layouts installed:

/usr/X11R6/lib/X11/xkb/symbols/pc/ir
/usr/X11R6/lib/X11/xkb/symbols/ir

apparently one should be removed.  Or if there really is any reason for the two,
both should be updated.
Comment 6 Sergey V. Udaltsov 2006-11-15 13:24:50 UTC
Behnam, we have a situation here. There is a copyright statement on the variant
(Sharif FarsiWeb, Inc.), which is a problem. Could this variant be relicensed
under mit/x11 license?
Comment 7 Sergey V. Udaltsov 2006-11-15 13:27:36 UTC
Just to let you know - if we do not settle on the licesing issue, I'd have to
remove the variant, which I do not like to do.
Comment 8 Behnam Esfahbod [:zwnj] 2006-11-16 09:26:06 UTC
Of course, feel free to relicense it to mit/x11.

But, please rename the additions, as new Iranian/Kurdish added to Iranian set. 
You can add Persian to these layouts, as its main usage is Persian language.
It's not the only for Persian and may be used for other local languages, but
it's better than listing as "Pro/.../Kurdish /...".
Comment 9 Sergey V. Udaltsov 2006-11-17 14:13:12 UTC
> Of course, feel free to relicense it to mit/x11.
Thanks a lot!

> But, please rename the additions, as new Iranian/Kurdish added to Iranian set. 
> You can add Persian to these layouts, as its main usage is Persian language.
> It's not the only for Persian and may be used for other local languages, but
> it's better than listing as "Pro/.../Kurdish /...".

OK, so far the IDs of layouts (excluding hiddens) are:
"basic"
"pro"
"keypad"
"pro_keypad"
"ku"
"ku_f"
"ku_alt"
"ku_ara"

How would you recommend to rename them? Please include the descriptions for the
group.
Comment 10 Behdad Esfahbod 2006-11-17 14:33:18 UTC
Behnam, can we trim them down?
Do we even have to keep "basic"?
Comment 11 Benjamin Close 2008-01-11 02:37:37 UTC
Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler
Comment 12 Sergey V. Udaltsov 2008-11-26 16:12:11 UTC
No activity.
Comment 13 Behnam Esfahbod [:zwnj] 2009-09-09 17:10:37 UTC
I finally got to clean up the Iranian Persian layout.  Going to attach the git patch.

Following are the unsolved issues:

- Should we talk about making a separate "kur" file for Kurdish layouts again?  I highly recommend to remove Latin-based Kurdish layouts from the "ir" file.

- "ir" file has some rules in common with "af" one.  The most important ones are
the SPCE [1] and Eastern Indo-Arabic keypad digit bindings.  We can move this special SPCE binding (which has ZWNJ) to "nbsp" file, and the keypad digit bindings to "keypad" file.
Comment 14 Behnam Esfahbod [:zwnj] 2009-09-09 17:12:05 UTC
Created attachment 29359 [details] [review]
0001-Update-Iran-Persian-layout.patch

- Update the standard info to ISIRI 9147
- Reduce the number of Persian layouts to only 2
- Use "pes_" for the name of Persian parts
- Add Narrow NBSP
Comment 15 Sergey V. Udaltsov 2009-09-12 14:12:42 UTC
> - Should we talk about making a separate "kur" file for Kurdish layouts again? 
I would say no. I'm trying to avoid any political issues here. If people of nation "aaa" live in the state "bb", the layout/variant belongs to the file symbols/bb. I guess, that is simple enough, and (nearly) unambiguous too. Both "aaa" and "bb" are defined in terms of ISO codes, of course.

> I highly recommend to remove Latin-based Kurdish layouts from the "ir" file.
Are you saying that in Iran there are no Kurds who'd use that layout?

> - "ir" file has some rules in common with "af" one.  The most important ones
> are
> the SPCE [1] and Eastern Indo-Arabic keypad digit bindings.  We can move this
> special SPCE binding (which has ZWNJ) to "nbsp" file, and the keypad digit
> bindings to "keypad" file.
I guess that's ok, if you think they would make sense as separate xkb options (for various Asian countries/languages).
Comment 16 Sergey V. Udaltsov 2009-09-12 14:26:53 UTC
I've committed your first patch. You forgot to include changes for base.xml.in - I amended the fix. Looking forward for the second patch (for xkb option).

Please keep in mind - the freeze for the new version starts this Tuesday
Comment 17 Nicolas Mailhot 2009-09-12 15:33:06 UTC
very glad to see more unicode (narrow nbsp…) trickling down xkb, congratulations all
Comment 18 Behnam Esfahbod [:zwnj] 2009-09-13 11:56:27 UTC
(In reply to comment #15)
> I would say no. I'm trying to avoid any political issues here. If people of
> nation "aaa" live in the state "bb", the layout/variant belongs to the file
> symbols/bb. I guess, that is simple enough, and (nearly) unambiguous too. Both
> "aaa" and "bb" are defined in terms of ISO codes, of course.

I have no political interest in this. As Kurdish culture is distributed in at least 3 states, I just though the rules for Arabic would work better here.

Kurdish and Azari are considered as regional languages by the constitution.  So it actually makes sense to have them under "Iranian" group.

> Are you saying that in Iran there are no Kurds who'd use that layout?

But yes, the problem is that the Latin script for Kurdish is not used in Iran.


> I guess that's ok, if you think they would make sense as separate xkb options
> (for various Asian countries/languages).

Good, so you and Nicolas are both agree with that.  Going to prepare it for the Tuesday freeze.


(In reply to comment #16)
> I've committed your first patch. You forgot to include changes for base.xml.in
> - I amended the fix.

Thanks for the quick commit, and the base.xml fix.
Comment 19 Behnam Esfahbod [:zwnj] 2009-09-17 07:35:47 UTC
I make follow up bugs for the general ideas.  Closing this bug as it's fixed by the last patch.

Bug #23995: Add ZWNJ/ZNJ mappings on SPCE to "nbsp" feature list


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.