Bug 19890 - Punjabi orthorgraphy is Indic-only
Summary: Punjabi orthorgraphy is Indic-only
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: orth (show other bugs)
Version: 2.6
Hardware: Other All
: medium normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-01 22:39 UTC by Roozbeh Pournader
Modified: 2009-06-24 12:35 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Panjabi for Pakistan (pa_pk) orthography (1.25 KB, text/plain)
2009-02-17 17:07 UTC, Roozbeh Pournader
Details
Panjabi in India (pa_in) orthography (1.61 KB, text/plain)
2009-02-17 17:14 UTC, Roozbeh Pournader
Details

Description Roozbeh Pournader 2009-02-01 22:39:44 UTC
The Punjabi orthography file is Gurumukhi only, while most speakers live in Pakistan and write in Arabic.

glibc has a pa_PK locale too, in Arabic.
Comment 1 Roozbeh Pournader 2009-02-17 17:07:14 UTC
Created attachment 23056 [details]
Panjabi for Pakistan (pa_pk) orthography
Comment 2 Roozbeh Pournader 2009-02-17 17:14:33 UTC
Created attachment 23057 [details]
Panjabi in India (pa_in) orthography
Comment 3 Behdad Esfahbod 2009-05-06 17:08:10 UTC
Roozbeh, this change caused issues for Qt which has a hardcoded list of languages.  Gah.

See: https://bugzilla.redhat.com/show_bug.cgi?id=497984

Should we rename pa-in to pa?  And, what's the glibc locale name for it?
Comment 4 Behdad Esfahbod 2009-05-06 17:09:41 UTC
To answer my own question, glibc has pa_IN and pa_PK.  Still, makes some sense to keep pa, if one is dominant?
Comment 5 A S Alam 2009-05-07 05:26:35 UTC
(In reply to comment #0)
> The Punjabi orthography file is Gurumukhi only, while most speakers live in
> Pakistan and write in Arabic.
> 
Right, Most speaker are in Pakistan, but no one is using Shahmukhi script (actually part of Arabic), but Urdu only.

> glibc has a pa_PK locale too, in Arabic.
> 

Smiliar Bug was there in Unicode:
http://www.unicode.org/cldr/bugs/locale-bugs?findid=1300
Comment 6 A S Alam 2009-05-07 05:28:16 UTC
(In reply to comment #4)
> To answer my own question, glibc has pa_IN and pa_PK.  Still, makes some sense
> to keep pa, if one is dominant?
> 

Yes, I would like this, but also this is mostly used. 
'pa' is default for 'pa-IN' only
Comment 7 Roozbeh Pournader 2009-05-07 13:48:55 UTC
I agree to the change, but not because of Qt depending on unpromised backward compatibility. Also for what is more dominant, I can't say the Indian one is more dominant, and the present orthography files don't follow any dominance architecture.

But the reason Mark Davis writes about here is valid (that the correct ISO 639 code for Pakistani Punjabi is actually 'lah': Lahnda):

http://www.unicode.org/cldr/bugs/locale-bugs?findid=1300

(Still, the whole term "Lahnda" to refer to the Pakistani Punjabi dialects is quite convtroversial.)

I will create a patch with all the references and renames in my git tree and will comment here when done.
Comment 8 Roozbeh Pournader 2009-05-07 14:46:10 UTC
Updated in my git tree, here: git://fedorapeople.org/~roozbeh/fontconfig.git
Comment 9 Behdad Esfahbod 2009-05-08 11:30:32 UTC
Roozbeh, any reason to keep pa_in?  I'd rather just rename pa-in.orth back to pa.orth.
Comment 10 Roozbeh Pournader 2009-05-08 12:11:32 UTC
(In reply to comment #9)
> Roozbeh, any reason to keep pa_in?  I'd rather just rename pa-in.orth back to
> pa.orth.

Makes sense. Updated in my git tree.
Comment 11 Behdad Esfahbod 2009-05-08 12:29:15 UTC
commit 844db442fb745f23087fe2a6f64c9cfcbe18ae47
Author: Roozbeh Pournader <roozbeh@gmail.com>
Date:   Thu May 7 14:31:11 2009 -0700

    Reorganize Panjabi/Punjabi and Lahnda orthographies (bug #19890)
    
    The correct ISO 639 code for Pakistani/Western Panjabi seems to be 'lah',
    not 'pa'. We are keeping 'pa_pk.orth' for compatiblity with glibc.
    
    Signed-off-by: Behdad Esfahbod <behdad@behdad.org>

Comment 12 Behdad Esfahbod 2009-06-24 12:35:55 UTC
I believe I've fixed this in 2.7.0.  Please reopen otherwise.


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.