搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.