Bug 116393 - persdict.dat format prevents cross-program sync; allow multi-format compatibility
Summary: persdict.dat format prevents cross-program sync; allow multi-format compatibi...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
(earliest affected) release
Hardware: All Linux (All)
: medium enhancement
Assignee: Not Assigned
Keywords: needsDevAdvice
Depends on:
Blocks: Dictionaries
  Show dependency treegraph
Reported: 2018-03-14 01:27 UTC by Simon Dedman
Modified: 2019-05-16 12:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Simon Dedman 2018-03-14 01:27:04 UTC
LO dictionary format is word-per-line, alphabetical, trailing blank line, with header:

lang: <none>
type: positive

MS Word & Firefox are the same without the header i.e. just start with the first word. This incompatibility prevents users from being able to use symlinks to cross-sync dictionaries across OSs and programs (see https://i.imgur.com/kVMXXs2.png for schematic diagram of issue).

I don't know what the function of the header is, presumably there is one else it wouldn't be there, but would it be possible to allow LO to read/use dictionary files in the more word list basic format, i.e. without the header? I've asked how else to solve this problem (https://askubuntu.com/questions/181003/sync-custom-dictionary-firefox-libreoffice-ubuntu-ms-office-in-windows) and the only idea was running a sync server with custom templates.

Thanks for considering this.

Steps to Reproduce:
1. NA

Actual Results:  

Expected Results:

Reproducible: Always

User Profile Reset: No

Additional Info:

User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Comment 1 Simon Dedman 2018-03-14 01:28:14 UTC
* more basic, word-list format. Apologies.
Comment 2 Robert Großkopf 2018-03-14 11:43:46 UTC
Semms it has nothing to do with Base, the database-module of LO. Switches it to Linguistic.