Editing a dictionary (.oxt)

Discussions about using 3rd party extension with OpenOffice.org
Post Reply
zkvvoob
Posts: 1
Joined: Sun Oct 23, 2016 1:38 pm

Editing a dictionary (.oxt)

Post by zkvvoob »

Hello,

Could anyone help me understand how to edit an existing .oxt dictionary file? I fear that the current Bulgarian dictionary is not Unicode and as a result causes some problems when I try to use it with an external app.

Is there a way this could be rectified?

Thanks!
OpenOffice 3.1 on Windows 8
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Editing a dictionary (.oxt)

Post by RoryOF »

Dictionaries in OO are in Hunspell format, so start with the Hunspell site.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
esperantisto
Volunteer
Posts: 578
Joined: Mon Oct 08, 2007 1:31 am

Re: Editing a dictionary (.oxt)

Post by esperantisto »

An OXT file is merely a zip archive. Unpack its contents to any location and edit the bg_BG.dic file. It is plain-text file and the encoding should be cp1251, as I understand, thus it is editable in any good text editor. If you wish (and your are certain that the problem(s) you mention are really related to the encoding, which seems doubtful to me), you can re-save it to UTF-8, but then you should respectively re-save the bg_BG.aff file with the new encoding and modify the encoding declaration in that file.
AOO 4.2.0 (of 2015) / LO 7.x / Win 7 / openSUSE Linux Leap 15.4 (64-bit)
Post Reply