Bug 44750 - Allow changing the document's locale directly, not globally
Summary: Allow changing the document's locale directly, not globally
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Spreadsheet (show other bugs)
Version: Master old -3.6
Hardware: All All
: lowest enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-13 02:43 UTC by Xavier Poirot
Modified: 2014-02-25 12:05 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Example on implementation of the enhancement (287.60 KB, image/png)
2012-01-13 02:43 UTC, Xavier Poirot
Details

Description Xavier Poirot 2012-01-13 02:43:58 UTC
Created attachment 55534 [details]
Example on implementation of the enhancement

In Tools > Options > Language Options > Language

We can change the spelling correction to a chosen language, and then check the box "Only for the current document".
This is great if I want to create an English document, since my computer is in Danish.

Though, if I want to use English currency ($, €, £, ...) other than the Danish krone (kr.), I've got two possibilities :

Select in the current Page all the boxes, and change in Format the number formatting to the currency I want, then select English - Country on the right (to have the correct thousand separator etc...). Very annoying step!

Or then change in Options > Languages Options > Language : change Locale Options to English, and all my number formatting is going to be by default correct, just by clicking on the button "Number format: Currency" which is a lot more convenient to use than the first solution.

The enhancement I'm requesting is : Could you add the spread action of the box "Only for the current document" as quoted in the start, so it affects also, if checked, the "Change Locale Options".

If the enhancement is implemented, then I check the box, and my whole document has changed its Locale Options with "English", WITHOUT setting by default all my new documents to English. Only this document. :)

If you need any further information, let me know, I feel it's hard to explain!
I attached a picture showing what should affect the box "Only for the current document".

Or then it can be implemented in a "Document settings" window, a lot easier to find! :)

Xavier Poirot
Comment 1 sasha.libreoffice 2012-05-08 02:49:55 UTC
Thanks for bugreport
> Select in the current Page all the boxes, and change in Format the number
> formatting to the currency I want, then select English - Country on the right
> (to have the correct thousand separator etc...). Very annoying step!
Please, attach small example document that demonstrates this problem
Comment 2 Murz 2014-02-25 12:05:29 UTC
Confirm this problem. At now LibrOffice have only global Locale setting, this is give many problems with formulas, how to reproduce:

Float numbers in English locale saved with dot: 1.33
Float numbers in Russian, Spanish locale saved with comma: 1,33

I work in Libreoffice with documents that need different locales, one must use dot in float numbers, other - comma.

So when I paste number in wrong locale, formulas shows #VALUE! error instead of counting.

Example: In cell A2 I write "1.33" and in B2 - formula "=A2*2", and this give me the error "#VALUE!" if global LibreOffice locale is not English (Russian).
And conversely.

Please fix this issue.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.