Bug 146973 - .docx documents always change the month's language to English in the data format when opened
Summary: .docx documents always change the month's language to English in the data for...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX
  Show dependency treegraph
 
Reported: 2022-01-24 17:50 UTC by rockveiler
Modified: 2023-06-08 17:51 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
video of the bug (945.67 KB, video/mp4)
2022-01-24 19:35 UTC, BogdanB
Details
file for testing (4.70 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2022-01-24 19:58 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rockveiler 2022-01-24 17:50:47 UTC
Description:
I use LibreOffice Writer in brazilian portuguese. My documents must be formatted in such a way that the current date must be indicated at their end, in the following format:
'"D" de "MMMMM" de "YYYYY"' (for example, 24 de janeiro de 2022).

However, whenever I re-open any document after closing it, the month's language is changed to English, ending up in a bizzare way, like "24 de January de 2022", for example. For that reason, each time I open any document, I must reformat the date back to portuguese.

For some reason, I've noticed this bug only happens when the document is saved as .docx. Unfortunately, that is the only format accepted in my workplace.

I guess it's worth mentioning that my LibreOffice's default language is set as brazilian portuguese, as well as my Windows and keyboard.

Steps to Reproduce:
1.Set a "Date" format as "31 de dezembro de 1999" in Português(Brazil);
2.save document as ".docx";
3.close and re-open document.

Actual Results:
The "month" language is altered to English.
Example: "24 de January de 2022"

Expected Results:
The "month" language should stay the same as before closing the document.
Example: "24 de janeiro de 2022"


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.5.2 (x64) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: pt-BR (pt_BR); UI: pt-BR
Calc: threaded
Comment 1 BogdanB 2022-01-24 19:35:01 UTC
Created attachment 177759 [details]
video of the bug

Confirm with
Version: 7.3.1.0.0+ / LibreOffice Community
Build ID: de15e8d4f2f2e5d10cb5d9203e51f3a28347db8d
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded


Also see video. The language and format is lost.
Comment 2 BogdanB 2022-01-24 19:58:35 UTC
Created attachment 177760 [details]
file for testing