Apache OpenOffice (AOO) Bugzilla – Issue 45725
check if dictionary.lst entries exist at load time
Last modified: 2013-02-24 20:34:24 UTC
The following patch checks to see if the dictionary.lst entries actually exist on disk. This allows invalid missing entries to be filtered out. The advantage of this is that is it allows the dictionaries to be listed in dictionary.lst as a list of possibly installed dictionaries, and the actual dictionaries to be split up amoung the language packs by distributers of OOo
Created attachment 24136 [details] patch to implement
caolan: I thought about similar approach: make the code parse all *.lst files in the directory. Thus language pack can deliver its own dictionary_ISO_code.lst file (e.g.). What do you think? What about combining both approaches?
Sure, that would suit me as well. The goal simply being to be able to seperate the dictionaries from eachother. Though there are various macros in existance around the existing dictionary.lst which would be a pain to have to rework in a split dictionary.lst model.
Hm, so what does this mean for the patch? Is somebody going to integrate it as is or would you like to work on the proposed combined approach?
Caolan: Kevin is no longer active. Do you still use this patch?
let me know the choice you made about .lst as DicOOo is concerned structurally there should be no problem (moving .lst parsing in a loop) simply more work ... and have to handle backward compatibility though Laurent
I still use this patch, Is there no active maintainer for this code anymore ? I can take care of applying the simple approach patch if there's no maintainer.
I propose to create a different dictionary.lst for different localized build. Example for Italian build, the dictionary.lst have to contain only the IT rows, but now includes a lot of rows so OOo is too slow when loading. Is possible to include a question in OOo's first run dialog, (when asking user's data, and registration....) where the user can select the dictionary to include in dictionary.lst improving OOo start-up. Users can always add new dictionary later using DictOOo or editing dictionary.lst like info reported in dictionary's readme file. At the moment I have to delete the row of other language in dictionary.lst every time I install a new OOo version. FaBBio
that isn't what this relatively simple patch/task is about.
fixed in cmcfixes24, the basic path to sanity test that dictionaries in the list actually exist.
reopen for qa
reassign for qa
back to fixed. Strangely can't seem to set a 2.0.3 target for this bug
looked at by some friendly developer :)
btw, "whiteboard" is not really a used component any longer; the project was mothballed. Lingucomponent is the proper component for this
.
*** Issue 46413 has been marked as a duplicate of this issue. ***