Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1260159

Summary: Languages in menu shown as "unknown"
Product: [Fedora] Fedora Reporter: David Juran <djuran>
Component: evolutionAssignee: Milan Crha <mcrha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: lucilanga, mbarnes, mcrha, tpopela
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: evolution-3.16.5-3.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-25 10:54:07 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 none

Description David Juran 2015-09-04 15:19:35 UTC
Created attachment 1070326 [details]
screenshot

Description of problem:
Recently (fedora 22, this used to work in fedora 21), the languages in the menu are shown as unknown, see attached screen shot.

Version-Release number of selected component (if applicable):
evolution-3.16.5-1.fc22.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Start a new email
2. Edit -> Current languages
3. Where is now says "unknown" previously the name of the language was printed out

Comment 1 Milan Crha 2015-09-07 10:18:18 UTC
Thanks for a bug report. Evolution uses iso-codes package to get user readable names for the languages. It opens /usr/share/xml/iso-codes/iso_639.xml and .../iso_3166.xml for this purpose (it's the former, the later is for other parts). That it writes "Unknown (language_code)" means the lookup in the ISO 639 failed for that particular code.

I looked into the iso-codes package and both files are there. Could it be that you do not have the iso-codes package installed?

Comment 2 David Juran 2015-09-07 17:25:46 UTC
iso-codes is installed:

[djuran@localhost Jeppesen]$ rpm -q iso-codes
iso-codes-3.57-1.fc22.noarch


Also the files 
/usr/share/xml/iso-codes/iso_639.xml and /usr/share/xml/iso-codes/iso_639.xml are there and are readable.

strace -e open of the evolution process however suggests that these files never are accessed.

Comment 3 Milan Crha 2015-09-08 05:32:58 UTC
Aah, I see. The koji build shows that only iso-codes package had been brought in, not iso-codes-devel, thus the configure ended with:
   checking for iso-codes package... no

I'll fix the spec file. The previous versions had this done properly due to iso-codes-devel being brought in indirectly, through gtkhtml3. Evolution doesn't depend on that package anymore, thus it lost it.

Comment 4 Fedora Update System 2015-09-08 08:31:15 UTC
evolution-3.16.5-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15301

Comment 5 Fedora Update System 2015-09-08 21:25:54 UTC
evolution-3.16.5-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update evolution'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15301

Comment 6 Fedora Update System 2015-09-25 10:54:05 UTC
evolution-3.16.5-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.