Bug 94645 - Date control shows names for months from Locale settings
Summary: Date control shows names for months from Locale settings
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Localization (show other bugs)
Version:
(earliest affected)
5.0.1.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-30 17:50 UTC by Jean-Francois Nifenecker
Modified: 2016-06-26 11:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Date control with incorrect month name when switching language (47.43 KB, image/png)
2015-09-30 17:50 UTC, Jean-Francois Nifenecker
Details
Language settings (85.64 KB, image/png)
2015-10-04 09:34 UTC, Jean-Francois Nifenecker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Francois Nifenecker 2015-09-30 17:50:56 UTC
Created attachment 119145 [details]
Date control with incorrect month name when switching language

Debian 8.1 Cinnamon FR_fr
LibreOffice 5.0.1 (from TDF)
When switching LibreOffice from FR_fr to EN_us (via Tools > Options), the date control in forms doesn't correctly show the month names. They keep showing as "Janvier", "Février", etc. instead of "January", "February", etc.
This leads to strangely set dialogs where the "Today" and "None" buttons are correct and the month name is not (see attachment).
I guess this has to see with LibO getting the month names from the OS, which in this case is actually FR_fr. Unless I'm missing something, it would be better to have fully localized strings, though.
Comment 1 Julien Nabet 2015-10-01 14:36:25 UTC
Just to be sure, did you restart LO after the switching?
Comment 2 Jean-Francois Nifenecker 2015-10-01 18:38:46 UTC
(In reply to Julien Nabet from comment #1)
> Just to be sure, did you restart LO after the switching?

Yes. Several times and not only LO :)
Comment 3 Jacques Guilleron 2015-10-04 08:16:52 UTC
Hi Jean-François,

Displaying is correct if Locale setting keeps the original language when User interface is set to another.
Comment 4 Jean-Francois Nifenecker 2015-10-04 09:34:03 UTC
Created attachment 119260 [details]
Language settings
Comment 5 Jean-Francois Nifenecker 2015-10-04 09:35:32 UTC
(In reply to Jacques Guilleron from comment #3)
> 
> Displaying is correct if Locale setting keeps the original language when
> User interface is set to another.

Hi Jacques,

see attachment Language_Settings: the locale conforms to your suggestion.
Comment 6 Jacques Guilleron 2015-10-04 11:05:52 UTC
So changing Locale setting and User interface to English gives the month names in  English as you expect it into date control in forms, yes?
Comment 7 Alex Thurgood 2016-05-19 08:06:33 UTC
Confirmed on LO 5132 OSX.

Just asked this question on the dev list as to where this information is obtained.
Comment 8 Alex Thurgood 2016-05-19 08:07:59 UTC
@Jean-François :

how did this work previously to your current discovery ? In other words, is this a regression ?
Comment 9 Alex Thurgood 2016-05-19 08:12:27 UTC
@Jean-François : I'm also seeing that the day abbreviations are not aligned with the data number array in LO 5132 - do you see this too ? This would be a separate bug.
Comment 10 Caolán McNamara 2016-06-23 15:51:29 UTC
Yeah, the calendar follow the settings of the Locale not the UI Language. Writer works the same way for its field names for days/weeks etc. I don't think we should change this.
Comment 11 Jean-Francois Nifenecker 2016-06-26 11:33:28 UTC
(In reply to Caolán McNamara from comment #10)
> Yeah, the calendar follow the settings of the Locale not the UI Language.
> Writer works the same way for its field names for days/weeks etc. I don't
> think we should change this.

Caolan,
sorry to disagree but I think that, for consistence sake, the calendar UI should follow LibO's chosen UI language, regardless of the OS language.
Comment 12 Jean-Francois Nifenecker 2016-06-26 11:36:08 UTC
(In reply to Alex Thurgood from comment #9)
> @Jean-François : I'm also seeing that the day abbreviations are not aligned
> with the data number array in LO 5132 - do you see this too ? This would be
> a separate bug.

Hi Alex,
sorry for this late answer, I had no time to look into this for a while and won't have any for another while, unfortunately. Anyway, I keep your question in mind.