Bug 863450 - invalid locale ilo_PH after installing in Iloko language from F17 DVD
Summary: invalid locale ilo_PH after installing in Iloko language from F17 DVD
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-05 13:47 UTC by Steve Tyler
Modified: 2012-10-08 15:58 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-08 14:47:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot showing "cannot change locale" message with invalid locale ilo_PH (17.47 KB, image/png)
2012-10-05 13:47 UTC, Steve Tyler
no flags Details

Description Steve Tyler 2012-10-05 13:47:27 UTC
Created attachment 622220 [details]
screenshot showing "cannot change locale" message with invalid locale ilo_PH

Description of problem:
A minimal install in the Iloko language results in an invalid locale, ilo_PH.
The attached screenshot was captured immediately after rebooting.

Version-Release number of selected component (if applicable):
F17 DVD

How reproducible:
Always.

Steps to Reproduce:
1. $ qemu-kvm -m 2048 -hda f17-test-2.img -cdrom ~/xfr/fedora/F17/Fedora-17-x86_64-DVD.iso -usb -boot menu=on
2. Install in the Iloko language.
3. Choose a minimal install.
4. After rebooting, login as root.
  
Actual results:
"cannot change locale" messages are displayed.
# cat /etc/sysconfig/i18n
LANG="ilo_PH.UTF-8"
SYSFONT="True"

Expected results:
No "cannot change locale" messages are displayed.

Additional info:

Comment 1 Chris Lumens 2012-10-05 14:51:40 UTC
We're not doing anything for F17, though.  Is this a problem in F18?  There, we are only allowing selection of languages we have translations for.

Comment 2 Steve Tyler 2012-10-05 17:18:21 UTC
(In reply to comment #1)
> We're not doing anything for F17, though.  Is this a problem in F18?  There,
> we are only allowing selection of languages we have translations for.

Thanks for pointing that out. Now I see where the "ilo" comes from -- there is a translation. However, I don't see Iloko in the list of languages displayed by the F18 installer, so I guess this is not a problem in F18. What do you suppose the translator uses for a locale?

[liveuser@localhost ~]$ locale -a | grep PH
en_PH
en_PH.iso88591
en_PH.utf8
fil_PH
fil_PH.utf8
tl_PH
tl_PH.iso88591
tl_PH.utf8

[liveuser@localhost ~]$ find /usr/share/locale -name anaconda.mo | egrep 'en|fil|tl|ilo' | sort
/usr/share/locale/en@boldquot/LC_MESSAGES/anaconda.mo
/usr/share/locale/en_GB/LC_MESSAGES/anaconda.mo
/usr/share/locale/en@quot/LC_MESSAGES/anaconda.mo
/usr/share/locale/ilo/LC_MESSAGES/anaconda.mo

anaconda-18.12-1.fc18.x86_64
glibc-common-2.16-15.fc18.x86_64

Comment 3 Steve Tyler 2012-10-05 18:45:21 UTC
Minimum Criteria For Language Support (I18N)
https://fedoraproject.org/wiki/I18N/LanguageSupportCriteria#Locale_Definition_in_glibc

...
Locale Definition in glibc

A complete locale file for the language has to be present in glibc and installed at /usr/share/i18n/locales/ . 
...

Comment 4 Chris Lumens 2012-10-08 14:47:02 UTC
Given the status of this translation according to transifex (https://fedora.transifex.com/projects/p/fedora/language/ilo/?project=2059), I'm going to guess no one's working on this.  Thus, it doesn't really seem like something we need to worry about right now.

Comment 5 Steve Tyler 2012-10-08 15:00:19 UTC
Thanks for the link. My impression from the Iloko install was that the translation was incomplete. Since an invalid locale *is* a bug, changing to WONTFIX.

Comment 6 Steve Tyler 2012-10-08 15:58:05 UTC
(In reply to comment #3)
> Minimum Criteria For Language Support (I18N)
> https://fedoraproject.org/wiki/I18N/
> LanguageSupportCriteria#Locale_Definition_in_glibc
> 
> ...
> Locale Definition in glibc
> 
> A complete locale file for the language has to be present in glibc and
> installed at /usr/share/i18n/locales/ . 
> ...

I can't find any evidence that ilo_PH was ever a supported locale in glibc:

http://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/ChangeLog
http://sourceware.org/git/?p=glibc.git;a=tree;f=localedata/locales


Note You need to log in before you can comment on or make changes to this bug.