Bug 1313421

Summary: locale sv_SV - why? (Refresh the list of lang-exceptions)
Product: [Fedora] Fedora Reporter: Mattias Ellert <mattias.ellert>
Component: filesystemAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: ovasik
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: 2017-01-02 10:56:36 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:
Bug Depends On: 1349145    
Bug Blocks:    

Description Mattias Ellert 2016-03-01 15:18:53 UTC
Description of problem:

The filesystem package installs

/usr/share/locale/sv_SV
/usr/share/man/sv_SV

This would mean Swedish as spoken in El Salvador, which really does not make sense. So why is it there?

sv_SE (Swedish in Sweden) is there.
sv_FI (Swedish in Finland) is missing though.

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

filesystem-3.2-35.fc23.x86_64
filesystem-3.2-37.fc24.x86_64

Comment 1 Ondrej Vasik 2016-06-22 11:50:03 UTC
Sorry for late reply.

I believe this was caused by https://git.fedorahosted.org/cgit/filesystem.git/commit/lang-exceptions?id=8f4ce52a562812b9541604b2b862442282197af0 - lang-exceptions file is part of filesystem package build - and can be refreshed by running something like $(repoquery -qal | awk -F '/' '/^\/usr\/share\/locale\/[a-z]*[_@]+/ { print $5 }' | sort -u) . Other than that - filesystem lists all languages listed in iso 639 and iso 3166 (provided by iso-codes package).

sv_FI is not used by any Fedora package (based on the repoquery command provided above) - it used to be in Fedora 8 - used by beryl-manager. 
sv_SV seems to be used by some projects ( https://github.com/JLahti/bacula-web/tree/master/locale/sv_SV/LC_MESSAGES ) probably based on "Sverige" . In current Fedora, it still seems to be used by mate-applet-lockkeys package.

As it is still in use - and I do refreshes from time to time. I consider this to be not a bug. If you don't like this directory on your system, you can file a bug against mate-applet-lockkeys, and this directory will disappear in next lang-exceptions refresh.

Meanwhile I'll keep it opened until next refresh of lang-exceptions from rawhide repos.

Comment 2 Jan Kurik 2016-07-26 04:52:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.