为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

I have a hunspell dictionary in my language I want to add, how do I do this?

  • 8 个回答
  • 1 人有此问题
  • 21 次查看
  • 最后回复者为 cor-el

more options

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.

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.

被采纳的解决方案

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.

定位到答案原位置 👍 1

所有回复 (8)

more options

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.

more options

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?

more options

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?

more options

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

more options

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

more options

选择的解决方案

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.

more options

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.

more options

You're welcome