Red Hat Bugzilla – Bug 207458
system-config-date for pa_PK shows multiple languages in UI
Last modified: 2007-11-30 17:11:43 EST
Description of problem:
System-config-date for pa_PK shows multiple languages in UI - See the attached
screenshot. The UI should be showing any one language consistantly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. open gnome-terminal
2. LANG=pa_PK system-config-date
3. Observe the UI with two different languages
Any one language should be shown onsistantly across the UI - as in case of gedit
Mix of two languages shown - see screenshot
Created attachment 136830 [details]
multiple languages in UI
And what do you expect? None of the maintainers have any clue about any of
these languages. Either you can come up with a patch or we'll close it.
As per the Language maintainers, the language in which week names are appearing
is the correct language for pa_PK (ShahMukhi/Urdu). However, the translations
the UI is picking are from pa_IN (Punjabi), which is totally incorrect.
If the applications have no pa_PK translations, the text in UI should be
displayed in simple english (or fall back locale translations).
Hence, IMHO, this is a bug which somehow relates to misunderstanding and mixing
of pa_IN & pa_PK locales.
Then this is a problem with the naming of the translation files. Probably one
is named pa.po (with binary pa.mo) which is on the search path in case pa_PK.po
or pa_IN.po does exist. Rename the file. This is no glibc problem.
The widget in question is a stock Gtk widget, so its translations are bound to
be made there as well. Changing component to gtk2.
Mayank, GTK+ has only a pa.po file, which is for Punjabi. I assume other Gnome
projects are in a similar situation. (a quick check for nautilus, gnome-panel and
evince confirms this).
So, in order to improve this situation, you need
a) a translation team for pa_PK
b) a mail to email@example.com to discuss the issue
of renaming pa to pa_IN throughout Gnome
Both of this is clearly not doable in the FC6 timeframe
I just did a small test...
I downloaded Gedit, copied $gedit/po/pa.po to $gedit/po/pa_PK.po & compiled &
installed it. As i found, $prefix/share/locale/pa_PK/LC_MESSAGES gets formed.
Hence, it seems as if pa_PK has glibc support but clearly Gnome seems to be
messing it up.
Am I right in this finding... Matthias?
BTW, Ankit, thanks for the help.
Whatever you want to happen here needs to happen upstream in gnome.