Editing a dictionary (.oxt)

Discussions about using 3rd party extension with OpenOffice.org

Editing a dictionary (.oxt)

Postby zkvvoob » Sun Oct 23, 2016 1:40 pm

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
zkvvoob
 
Posts: 1
Joined: Sun Oct 23, 2016 1:38 pm

Re: Editing a dictionary (.oxt)

Postby RoryOF » Sun Oct 23, 2016 1:44 pm

Dictionaries in OO are in Hunspell format, so start with the Hunspell site.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28412
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Editing a dictionary (.oxt)

Postby esperantisto » Wed Oct 26, 2016 8:52 am

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 / LibO 5.x/6.x / Win 7 / openSUSE Linux 11.3 (32-bit) / 13.2 (64-bit)
esperantisto
Volunteer
 
Posts: 484
Joined: Mon Oct 08, 2007 1:31 am


Return to Extensions

Who is online

Users browsing this forum: No registered users and 2 guests