Bug 766178 - Locale incorrectly set, causes problems with LibreOffice
Summary: Locale incorrectly set, causes problems with LibreOffice
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-settings-daemon
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-10 20:09 UTC by Jean-François Fortin Tam
Modified: 2013-02-13 12:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-13 12:09:00 UTC
Type: ---


Attachments (Terms of Use)

Description Jean-François Fortin Tam 2011-12-10 20:09:38 UTC
In gnome-control-center 3.2's region & language panel, no matter what I do, if I try to set everything to "French (Canada)" I end up with:
- "Français" as the language ["French"]
- "Canada (français)" as the format ["Canada (French)"]
- "Canada (français)" as the layout ["Canada (French)"]

The problem is the first one. If I go in a terminal and "echo $LANG", I get "fr_FR.utf8" instead of "fr_CA.utf8".

If, in the "language" tab, I click the button to add "français (Canada)" as my locale, it will look as if it worked, but
- it will not actually apply it
- if you close and start gnome-control-center again, it disappears again

This has nasty side-effects such as the fact that LibreOffice thinks I'm in France, and thus uses the A4 paper size by default instead of the US "Letter" paper size used in Canada.

I presume this kind of scenario may affect other locales too.

Comment 1 Jean-François Fortin Tam 2011-12-10 23:11:53 UTC
From what I understand, there are two problems at work here:

1) The locale changes are not applied until you logout and relogin, and there is nothing to tell the user about that. Can the locale changes be applied immediately? If not, the control center should ask the user to logout (like packagekit does in some cases) to apply the changes.

2) LibreOffice (and possibly other applications) parses the $LANG environment variable to figure out what kind of paper sizes it should use... the problem is that if I set GNOME3 to be in "Spanish", it will set LANG to be es_ES.utf8... and LibreOffice will use european paper sizes, yet I'm not in Europe.

2.2) Applications such as Libreoffice don't actually read the "formats" (ex: date, currencies, and numbering standards) set by gnome control center.


I'm not sure if bug #2 is a bug in libreoffice or gnome. The fact that it basically "invites" you to use one of the default languages may cause problems like this.

Comment 2 Fedora End Of Life 2013-01-16 12:07:51 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Fedora End Of Life 2013-02-13 12:09:02 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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