Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Where is Firefox's built-in en-US spellchecking dictionary located on Mac?

  • 8 trả lời
  • 1 gặp vấn đề này
  • 73 lượt xem
  • Trả lời mới nhất được viết bởi David Mickelsen

more options

Since Firefox does not allow for selecting multiple languages for spellcheck, as chromium-based browsers do, I want to create a hybrid dictionary file for both English and Spanish (duplicate built-in en-US dictionary file, rename it as en-es hybrid, and copy all entries of es-AR dictionary into it). However, first I have to find the built-in dictionary file. I've seen in another thread that on Windows, the file is apparently located in the Dictionaries folder in the Firefox folder in Program Files. Does anyone know where this file is located on Mac?

Thanks, David

Since Firefox does not allow for selecting multiple languages for spellcheck, as chromium-based browsers do, I want to create a hybrid dictionary file for both English and Spanish (duplicate built-in en-US dictionary file, rename it as en-es hybrid, and copy all entries of es-AR dictionary into it). However, first I have to find the built-in dictionary file. I've seen in another thread that on Windows, the file is apparently located in the Dictionaries folder in the Firefox folder in Program Files. Does anyone know where this file is located on Mac? Thanks, David

Giải pháp được chọn

Hi cor-el, thanks again for your response. I ended up going with a simpler hack: I just pasted the full word list of my second language (Spanish) into the persdict.dat file. It seems to be working well so far.

Best, David

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (8)

more options

Hi David.

In cuirrent releases the builtin dictionary is stored in the main omni.ja archive (resource://gre/). This archive is signed (has a META-INF folder) and thus it is impossible to modify this dictionary.

  • resource://gre/dictionaries/
more options

Hi cor-el,

Thanks for your reply.

I thought I had found a workaround with the English United States Dictionary add-on (https://addons.mozilla.org/en-US/firefox/addon/us-english-dictionary/), but after adding it to Firefox, I'm still not seeing the dictionary file in Profiles/.default/extensions.

es-AR@dictionaries.addons.mozilla.org.xpi is still the only dictionary file I see in that folder.

Best, David

more options

That English United States Dictionary extension would have this name:

  • @unitedstatesenglishdictionary.xpi

Firefox doesn't unpack the extension, so you would only see the xpi file and not the dictionary folder and the files in it. Extensions are signed, so you wouldn't be able to modify the dictionary.

more options

Giải pháp được chọn

Hi cor-el, thanks again for your response. I ended up going with a simpler hack: I just pasted the full word list of my second language (Spanish) into the persdict.dat file. It seems to be working well so far.

Best, David

more options

Note that words added to persdict.dat aren't offered as possible suggestions, this merely prevents words from being flagged as misspelled.

more options

Right, thanks. I guess it's the best I'm going to do until the dev team is able to implement spell check for multiple dictionaries. I know this is something they're working on...but they've been working on it for years, so...I'm not waiting around for it.

If you have any other, more elegant, ideas of how to solve this problem, they would be welcomed.

Best, David

more options

You could create your own dictionary extension and get it signed.

Được chỉnh sửa bởi cor-el vào

more options

Thanks, I'll look into this.