Description: My user interface language is set to Dutch (NL) I can create a new document (using English as the language) and add tables or figures. I can then add captions to these, with 'Table' or 'Illustration' as the category instead of the default dutch 'Tabel' or 'Afbeelding' category. I can create cross-references to this caption in the text without problems. All appears to be fine. I can even print this without problems. When I save this document, close LibreOffice and re-open it I can see that the in the captions, the field name has already changed from 'Table' to 'Tabel' or 'Illustration' to 'Afbeelding' by double-clicking it. This happen regardless of the number of tables or images I added, even when e.g. using both the default 'Tabel' and custom 'Table' categories in the same document. The cross-reference at that point still looks ok, because it is not yet updated. However the moment you print, or export as pdf, an automatic field update is executed and the cross-reference looses the category label (only the table or figure number is displayed at that point). Steps to Reproduce: 1. Set the user interface language to Dutch (did not test other settings) 2. Create a new Writer document 3. Add a table or image and insert a caption with the translated category (Table or Illustration) 3. Save the document 4. Close LibreOffice 5. Re-open the document 6. Double-click the caption field to confirm the category has changed (to 'Tabel' or 'Afbeelding') 6. Try to print or export as pdf to force update cross-referenced fields Actual Results: After saving and re-opening the table and image caption categories are changed to the translated default category according to the user interface language. Expected Results: Saving and re-opening should preserve table and image category names, regardless of the user interface language settings. Reproducible: Always User Profile Reset: No Additional Info: This was actually an issue raised by my co-worker on a Windows PC, using a slightly more recent version (5.3.4). Changing our user interface language to English solves the issue, however this is a workaround and not a fix. User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
(In reply to Mathijs Dumon from comment #0) > Steps to Reproduce: > 1. Set the user interface language to Dutch (did not test other settings) > 2. Create a new Writer document > 3. Add a table or image and insert a caption with the translated category > (Table or Illustration) > 3. Save the document > 4. Close LibreOffice > 5. Re-open the document > 6. Double-click the caption field to confirm the category has changed (to > 'Tabel' or 'Afbeelding') > 6. Try to print or export as pdf to force update cross-referenced fields You skipped the step of changing the document language to English. I changed it to English, but the captions still get added in Finnish, when my UI lang is Finnish. I also switched locale, but no help. Arch Linux 64-bit, KDE Plasma 5 Version: 6.0.0.0.alpha0+ Build ID: 7915f35d7fca5d0720d96954beaa97c00a2c3821 CPU threads: 8; OS: Linux 4.12; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on August 7th 2017
(In reply to Buovjaga from comment #1) > (In reply to Mathijs Dumon from comment #0) > > Steps to Reproduce: > > 1. Set the user interface language to Dutch (did not test other settings) > > 2. Create a new Writer document > > 3. Add a table or image and insert a caption with the translated category > > (Table or Illustration) > > 3. Save the document > > 4. Close LibreOffice > > 5. Re-open the document > > 6. Double-click the caption field to confirm the category has changed (to > > 'Tabel' or 'Afbeelding') > > 6. Try to print or export as pdf to force update cross-referenced fields > > You skipped the step of changing the document language to English. > > I changed it to English, but the captions still get added in Finnish, when > my UI lang is Finnish. I also switched locale, but no help. > Dear Reporter, Could you please try the steps mentioned about by Buovjaga? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present
(In reply to Xisco Faulí from comment #2) > (In reply to Buovjaga from comment #1) > > (In reply to Mathijs Dumon from comment #0) > > > Steps to Reproduce: > > > 1. Set the user interface language to Dutch (did not test other settings) > > > 2. Create a new Writer document > > > 3. Add a table or image and insert a caption with the translated category > > > (Table or Illustration) > > > 3. Save the document > > > 4. Close LibreOffice > > > 5. Re-open the document > > > 6. Double-click the caption field to confirm the category has changed (to > > > 'Tabel' or 'Afbeelding') > > > 6. Try to print or export as pdf to force update cross-referenced fields > > > > You skipped the step of changing the document language to English. > > > > I changed it to English, but the captions still get added in Finnish, when > > my UI lang is Finnish. I also switched locale, but no help. > > > > Dear Reporter, > Could you please try the steps mentioned about by Buovjaga? > I have set the bug's status to 'NEEDINFO'. Please change it back to > 'UNCONFIRMED' if the bug is still present The bug is still present, the steps mentioned by Buovjaga do not affect the bug; that is, changing the document's language (i.e. for the spelling checker) does not change the proposed labels for the caption. I'm assuming LibreOffice does some kind of 'mapping' when it loads a document to change the default English labels to their corresponding values in the current UI language. However I think the UI language should not affect the contents of a document at all. Basically my use case is this: I want my user interface to be in my native language, but still be able to create English documents, using English caption labels. Currently, I'm forced to change my user interface language to English.
Additional information: using another label category (e.g. using Figure instead of Illustration) does work as expected - the bug only occurs for default english caption categories (Illustration, Text, Table, Drawing).
My comment 1 was just meant to say I am unable to even begin to reproduce the issue, because I cannot create English caption labels when the UI language is Finnish. I do not understand, how Mathijs is able to create them in the first place with Dutch UI.
it looks to me like a dupe of bug 44451 *** This bug has been marked as a duplicate of bug 44451 ***