Bug 863450

Summary: invalid locale ilo_PH after installing in Iloko language from F17 DVD
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-08 14:47:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot showing "cannot change locale" message with invalid locale ilo_PH none

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