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

搜索 | 用户支持

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

详细了解

Edit Firefox Dictionary

  • 8 个回答
  • 1 人有此问题
  • 13 次查看
  • 最后回复者为 sra97

more options

Accidentally added a misspelling to the Firefox dictionary. Thought it would be easy to locate and edit the dictionary.

Enabled 'show hidden files.'

On XYplorer, and Windows File Explorer can find not a single trace of 'persdict.dat' in my profiles folder.

It would be really helpful if you could advise what the next step would be. Thanks.

Accidentally added a misspelling to the Firefox dictionary. Thought it would be easy to locate and edit the dictionary. Enabled 'show hidden files.' On XYplorer, and Windows File Explorer can find not a single trace of 'persdict.dat' in my profiles folder. It would be really helpful if you could advise what the next step would be. Thanks.
已附加屏幕截图

所有回复 (8)

more options

Edit: given how common this problem must be, would suggest:

  • a quick access option in settings enabling users to easily edit the personal dictionary
  • an option upon addding something to the personal dictionary enabling users to 'undo' the wrong 'correction'

With respect it seems such a very basic feature as modifying one's personal dic is complicated or in this case, not possible.

more options

Do you have more than one profile folder -- so that maybe you need to find the file in a different one? You can check the About Profiles page. Type or paste about:profiles in the address bar and press Enter to load that page.

The profile that Firefox is currently using will have this:

This is the profile in use and it cannot be deleted.

The Root Directory line has the button to view that particular profile folder in Windows File Explorer.


Otherwise, hmm, I don't know where else that file would be. ??

more options

Thanks for your reply. Indeed there were two profiles. Removed one. Added a dictionary. Still no sign of persdict.dat.

more options

I can't think of any other place it would be stored. Is this a standard Mozilla installer, or the Microsoft store installer? The Microsoft store creates its profile in an obscure location.

Assuming standard: does it make any difference to turn on viewing of hidden files?

https://support.microsoft.com/en-us/windows/view-hidden-files-and-folders-in-windows-97fbc472-c603-9d90-91d0-1166d1d9f4b5

more options

Thanks again for your reply. I'm fairly sure it was downloaded from Mozilla. Showing hidden files doesn't make any difference. A full search persdic.dat doesn't show up anything.

more options

Unless Firefox is failing to create/save the file, which would mean that your saved entry isn't there after you restart Firefox, it's hard to understand what is going on.

When I web search this, it seems there are occasional reports of the same problem, none of which had a solution. When I look at the source file, it seems that both the file name and the location in the profile folder are hardcoded (https://searchfox.org/mozilla-release/source/extensions/spellcheck/src/mozPersonalDictionary.cpp lines 30 and 205), so... wtf.

Do you use any Add-on dictionaries for other languages/locales?

more options

You did close and restart Firefox ? What happens if you create a persdict.dat file yourself and add some words to it ?

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).

more options

Thanks. Have created persdict.dat myself and it indeed stores misspellings.

Yes I have added one dictionary.

British English Dictionary (Marco Pinto) A fork of Mark Tyndall's add-on, based on David Bartlett's British Dictionary R1.19 for Firefox, Thunderbird and SeaMonkey. V3.1.2 has 130 000+ new words and also fixes. British Dictionary V3 for Firefox, Thunderbird and SeaMonkey.

Thanks for all the replies.