Description: When the language options dialog is opened using menu Tools > Options from the window of a Writer or Calc document whose language for all text differs from the default language for documents, then the language of that document is shown under "Default Languages for Documents" without any indication that it is "For the current document only". Steps to Reproduce: 1. Start at the LibreOffice start center after launching LibreOffice without creating or opening any documents. 2. Use the menu to open the languages dialog: Tools > Options, then choose Language Settings > Languages. 3. Set the languages, in particular the default language for documents. A convenient choice used in the attachments is: User interface = Locale = English (USA), Western = English (UK). This choice ensures that new documents are created in English (UK), whereas English (USA) is available through the Tools > Language > For All Text menu - no need to go through More... 4. Check box "Ignore system input language" so that the language can be set only through LibreOffice. 5. Create a Writer document. 6. The document has the default language, for example English (UK). Use menu Tools > Language > For All Text to change it, for example, to English (USA). 7. Repeat step 2. 8. Repeat steps 1-7 but creating a Calc spreadsheet in step 5. 9. Repeat steps 1-7 but creating an Impress presentation in step 5. Actual Results: The system shows the languages dialog. The rest depends on the module. I. For Writer or Calc A. The default language for Western documents is NOT shown although the label above this field is "Default Languages for Documents". In its place, the language of the current document is shown. B. There is no indication that the language is "For the current document only". After working for a while in LibreOffice and repeating the test starting with step 5, the checkbox IS checked, but the first time it is not, as explained above. II. For Impress The default language for Western documents is shown. Since this language applies to any document upon its creation, "For the current document only" is not checked. The language field and the checkbox are consistent. As for Writer or Calc, after working for some time and displaying the languages dialog, the software may behave differently. For Impress, it may show the language of the current presentation, with the checkbox checked to indicate this. Expected Results: It can be argued that the Impress behavior - when steps 1-7 are performed - is the appropriate one given the layout of this dialog. See also I.A in the actual results above. Squeezing a document attribute into a dialog of global options is likely to create confusion. If this is done, however, then at least all labels and field contents must be correct. Reproducible: Sometimes User Profile Reset: Yes Additional Info: Version: 6.4.5.2 (x64) Build ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; Locale: en-US (en_US); UI-Language: en-US Calc: threaded
Created attachment 163106 [details] Test case for Writer
Created attachment 163107 [details] Actual result for Impress
(In reply to christos from comment #0) > A. The default language for Western documents is NOT shown although the > label above this field is "Default Languages for Documents". The Default Paragraph Style (and all derived styles) change the language (you find it under Font) to your default. The language at the cursor is shown in the status bar - and you can change it there as well, just click it. > II. For Impress > The default language for Western documents is shown. Maybe I missed this point. But what exactly is different at Impress? Main menu, tools > options, sidebar, some properties, statusbar...
(In reply to Heiko Tietze from comment #3) > (In reply to christos from comment #0) > > A. The default language for Western documents is NOT shown although the > > label above this field is "Default Languages for Documents". > > The Default Paragraph Style (and all derived styles) change the language > (you find it under Font) to your default. The language at the cursor is > shown in the status bar - and you can change it there as well, just click it. This report is not about how to change the language, but about what LibreOffice shows in the languages options under "Default Languages for Documents". See the rest of item A in the original report and the attachment about Writer. Taken together, the Western language field and checkbox "For this document only" are inconsistent for Writer. > > II. For Impress > > The default language for Western documents is shown. > > Maybe I missed this point. But what exactly is different at Impress? Main > menu, tools > options, sidebar, some properties, statusbar... Same steps as in Writer, that is - same language settings - creation of a new document - now an Impress presentation - which of course starts out in the default language - change of language for all text through the menu (without using More...) - opening the languages dialog from the window of this presentation Impress does not lead to the inconsistency mentioned above between language and checkbox (see the picture for Impress and compare it to the one for Writer, noting the difference between USA and UK English). In other words, the sequence of steps gives different results when the languages are displayed from a Writer or an Impress window. Writer shows the language of the current document, Impress the (global) default.
We use these small green checkmark icons for languages that have a spellchecking installed. How about a similar solution with an icon next to the document default?
The point here is that Tools > Languages: For All Text changes Tools > Options > Language: Default Language for Documents. The expectation is to have an option for new documents and a setting for the current document. This needs to be reworked being handled in bug 103036. If I'm wrong feel free to reopen. *** This bug has been marked as a duplicate of bug 103036 ***