Bug 91119 - Difficult to change incoming documents to default language
Summary: Difficult to change incoming documents to default language
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.2.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-06 16:11 UTC by tomashnyk
Modified: 2017-10-23 15:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The document that is difficult to change language to. (7.92 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2015-05-06 16:11 UTC, tomashnyk
Details
The unhelpful choices on offer (88.21 KB, image/png)
2015-05-06 16:12 UTC, tomashnyk
Details
How to pick any language. (86.37 KB, image/png)
2015-09-11 07:50 UTC, tomashnyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomashnyk 2015-05-06 16:11:34 UTC
Created attachment 115391 [details]
The document that is difficult to change language to.

I work as a translator and so often get documents in other languages that I need to rewrite in another language. Of course, those documents have their language set, so I need to change it. My default language for new documents is set to Czech (as per http://ask.libreoffice.org/en/question/22711/how-to-set-the-default-spell-check-language/ ). Interface language is English. If I receive a document (docx - attached with deleted contents) in English from somebody, I have only English (UK), English (USA) and German to select from both the status bar and tools>language (I will attach a screenshot in the next message). This is highly inconvenient.

I would expect that
1) the default language is always in both dialogs
2) this could be solved alongside https://bugs.documentfoundation.org/show_bug.cgi?id=70953
provided one could set the languages herself - remembering those most used might be great but not always optimal, in my opinion.
Comment 1 tomashnyk 2015-05-06 16:12:02 UTC
Created attachment 115392 [details]
The unhelpful choices on offer
Comment 2 Buovjaga 2015-05-13 09:15:15 UTC
It seems there is something strange with Tools - Options - Languages - Default lang for documents.
I set it to Estonian and opened attachment 115392 [details].
Then I went to check the option and it had turned into English (USA)!
The document itself said English (UK) in the status bar and if I left-clicked it and selected Reset to default lang, nothing happened.

It is true that we can left-click the status bar - More - Font tab - Language - select desired lang. Thus I'm lowering severity: https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg

Win 7 Pro 64-bit, Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Locale: fi_FI

Version: 5.0.0.0.alpha1+ (x64)
Build ID: ddb3c4531c657cda6ae20dd950020cea1d12ba2e
TinderBox: Win-x86_64@42, Branch:master, Time: 2015-05-11_00:25:02
Locale: fi-FI (fi_FI)
Comment 3 DouglasCarnall 2015-09-11 04:47:29 UTC
I'm filing this as a comment here because it looks like it's the same problem. 

Bug: Cannot change language of Writer document

I'm a translator. I receive French documents and translate them to English. I prefer to run a French language OS/apps for various reasons, but I'd still like to spellcheck documents in English. 

But when I select Tools>Languages>Selection|Paragraph|Document, I see only French as an option. I have verified that the dict-en.oxt extension is correctly installed.

This bug was also present in earlier versions of LO (4.2.x IIRC), but (weirdly) selecting a menu option other than the nice list of languages you'd hoped to see on that menu, did then seem to bring up the English language options, making it annoying, not fatal.

I've upgraded to 5.0.1.2 because there's no point reporting bugs on old versions, but it's still there, or worse. Even the annoying workaround no longer works.

I'd say this is quite a serious bug, in that if I wish to spellcheck document in a language other than French, I have to use another machine. (I suppose this might be considered a feature if you sell hardware).  

See also bug NĀ° 82184, and a slew of user language problems at ask.libreoffice.org for more evidence of assumption of monolingualism in the LibreOffice project.
Comment 4 Buovjaga 2015-09-11 06:28:41 UTC
Reverting version field change that is contrary to the field's intended purpose & description.
Comment 5 DouglasCarnall 2015-09-11 07:04:44 UTC
(In reply to Beluga from comment #4)
> Reverting version field change that is contrary to the field's intended
> purpose & description.

Yep, sorry, my mistake, I mistakenly thought I should enter the version of LO I was using. The bug is indeed present in 4.2.x, 4.4.x, 5.0.1.2 to my knowledge.
Comment 6 tomashnyk 2015-09-11 07:06:34 UTC
DouglasCarnall: It is still possible to change the language (as per left-click the status bar - More - Font tab - Language - select desired lang by beluga, it is only highly incovenient), or that does not work for you? Just reacting to the other computer, I do not have a need for this even though this bug is still very annoying.
Comment 7 DouglasCarnall 2015-09-11 07:43:19 UTC
(In reply to tomashnyk from comment #6)
> DouglasCarnall: It is still possible to change the language (as per
> left-click the status bar - More - Font tab - Language - select desired lang
> by beluga, it is only highly incovenient), or that does not work for you?
> Just reacting to the other computer, I do not have a need for this even
> though this bug is still very annoying.

No, unfortunately it isn't, or at any rate it is unreliable.

When I left-click on the language tab in the status bar at the foot of the document I am not offered English as an option, the same as when I try to use Tools>Languages>etc as I outlined above (though dict-en.oxt is installed).
Comment 8 tomashnyk 2015-09-11 07:50:10 UTC
Created attachment 118598 [details]
How to pick any language.
Comment 9 DouglasCarnall 2015-09-11 08:10:23 UTC
That works! Thank-you for finding my new workaround! 

The Font... dialog, huh? Who'da guessed it?
Comment 10 tomashnyk 2015-09-11 08:26:25 UTC
Yes, it's completely unobvious, I think it took me months or even years to figure that one out.
Comment 11 QA Administrators 2016-09-20 10:29:31 UTC Comment hidden (obsolete)
Comment 12 tomashnyk 2016-09-20 10:40:32 UTC
This is still present on Ubuntu 16.04, LO version  5.1.4.2 (I know it is one slightly behind but I highly doubt anything has changed between 5.1.4 and 5.1.5 in this regard).
Comment 13 StephenM 2016-10-06 12:42:46 UTC
I can confirm that this bug and related (mis)behaviours still occur on Windows at version 5.2.2.2.

Specifically: the list under Tools -> Language -> For All Text (or for selection or paragraph) only shows, by default, the default document language and the U.I. language. (One, if these are the same.) You can *change* the default document language for the current document and then the list will change, too, but if you open another document, the list resets. If you want to use your U.I. language as your default document language but also commonly use other languages, there's no way to get those commonly used languages into the list.

Sure, you can change the language on the fonts tab of the style editor but this is obscure, not discoverable, incredibly inconvenient and not particularly easy because you have to scroll through a massive list of languages, every time, instead of the ones you commonly use. Also, you have to do it for every document.
Comment 14 QA Administrators 2017-10-23 13:58:38 UTC Comment hidden (obsolete)
Comment 15 tomashnyk 2017-10-23 14:37:25 UTC
Indeed, this is fixed.
Comment 16 Buovjaga 2017-10-23 15:27:49 UTC
Thanks, closing.