I have a hunspell dictionary in my language I want to add, how do I do this?
I am digitising my language and want to put it into Mozilla. I have made a Hunspell dictionary and need to know what to do next, so it can spell check etc.
Solución elegida
Does the Add-ons website or the above posted Open Office websites offer an Hunspell dictionary in your language?
In that case you can install that dictionary and use the persdict.dat file in the Firefox Profile Folder to add the other dictionary.
Leer esta respuesta en su contexto 👍 1Todas las respuestas (8)
You can copy the two dictionary files (xx-XX.aff and xx-XX.dic) to the dictionaries folder in the Firefox program folder (C:\Program Files\Mozilla Firefox\).
If that folder doesn't exist because your Firefox locale didn't come with a dictionary then create a dictionaries folder.
If you have the two files in a ZIP archive then extract them from that archive.
Thank you for the info, I actually only have one file with a .dic extension, what is the .aff ? And how do I get it?
The AFF file stores what the meta data (/XX) that is appended to entries in the dictionary file means like allowed prefixes and suffixes, so without that file the dictionary may not work properly.
Where did you get that dictionary?
I made the dictionary originally for MS Office, then got a converter programn which turned into Hunspell format. I dont actually have Hunspell itself. Just been looking at the english version and it appears that the .aff is grammar so I'm just putting a blank .aff in and see what happens
well that didn't work, I'll have to try and make a .aff file. I've downloaded Hunspell now, but unsure how to install it. Will have to do some research
Solución elegida
Does the Add-ons website or the above posted Open Office websites offer an Hunspell dictionary in your language?
In that case you can install that dictionary and use the persdict.dat file in the Firefox Profile Folder to add the other dictionary.
No my language has never been digitised until now, I have actually now downloaded Hunspell and made both files, and they're working great. Thank you so much for your effort. Much better with the .aff file because now I have taken care of some grammar rules and special characters we use.
You're welcome