I have a sample file of spell checker that I downloaded from here...
https://testme162.s3.amazonaws.com/tamil_spell_chek.oxt
when I try to install it, I get an error as shown in this image...
https://testme162.s3.amazonaws.com/spell_check_error.png
I have successfully installed other language dictionaries before. Only "Tamil" has this error. Can anyone explain the reason?
There is a mistake in two of the
.xcufiles in the extension. As indicated in the error message the root element is calledcompotant-data, however this should becomponent-data(see, e.g., https://github.com/sil-car/lt/blob/4d325d8eba1e638d252772befa3fe82fe28d6acc/oxt/en_english/dict-en-20230201_lo/dictionaries.xcu for an example for English).A
.oxtfile is actually a normal ZIP archive, so to fix this mistake you should unzip the file, locatetmp.xcuanddictionaries.xcu, then change the second line from the top and bottom toand the line at the bottom to
in both files. Then you can re-zip the whole folder again, if your ZIP utility produces files with the extension
.zipthen you can just rename that to.oxt. Then you can install the spell checker normally: