When creating a document master the checks of listbox values is hardcoded in english so it don't work with other languages like french.
This is where the file docsh2.cxx : sw/source/uibase/app/docsh2.cxx
Steps to Reproduce:
1.modify language of Lo in french Tools -> Options -> language settings -> user interface (to french (france)) && locale settings (to french (france))
2. open the file uploaded (list.odt)
3. Fichier(File in english) -> Fichier (send in english) -> créer un document master (create master document in engish) -> check in lisbox Template (Styles in english) "Plan : niveau 2 (Outline : level 2 in english)" -> save
4. Save the .odm file (the .odt file will be closed and instead the .odm file will be openend).
Odm file is created and subtitles 1.1 and 1.2 are selected and subtitles 2.1 and 2.2 are selected and .odt file are generated.
PS: Check right_odm_file.odm
Odm file is created and title 1 with 1.1 and 1.2 is selected and title 2 with 2.1 and 2.2 are selected and two .odt file are generated. (weird behavior same result as outline 1 : it's an error case in mode debug).
PS: Check wrong_odm_file.odm
User Profile Reset: No
Try to reproduce this bug on linux platforms because in windows platforms there is another issue i already fixed and i will commit it.
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Created attachment 137809 [details]
Contain list.odt and both wrong and right odm files
Didn't really understand your actual and expected description, but comparing with your right and wrong results I confirm the same badness with Finnish.
Arch Linux 64-bit
Käännöksen ID: 121303615054568c204def97872343d2014af4a0
CPU-säikeet: 8; Käyttöjärjestelmä: Linux 4.13; Piirtokomponentti: oletus; VCL: kde4;
Maa-asetus: fi-FI (fi_FI.UTF-8); Calc: group
Built on November 16th 2017
Ahmed GHANMI committed a patch related to this issue.
It has been pushed to "master":
tdf#113876: fix hardcoded compare strings
It will be available in 6.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
*** Bug 80077 has been marked as a duplicate of this bug. ***
*** Bug 112825 has been marked as a duplicate of this bug. ***
*** Bug 111898 has been marked as a duplicate of this bug. ***
*** Bug 112829 has been marked as a duplicate of this bug. ***
*** Bug 67260 has been marked as a duplicate of this bug. ***