본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

system hunspell dictionaries

  • 5 답장
  • 1 이 문제를 만남
  • 10 보기
  • 최종 답변자: erpmozilla

more options

For long I've been using Firefox and to get the same dictionaries in most applications I used to add the system hunspell dictionaries to firefox by creating symbolic links in <firefox-base-dir>/dictionaries/.

I tried to do the same in firefox-67.0.1 and in firefox-68.0b8 (dev). It did not work!

I tried to rename the links from, for example, en_US.{dic,aff} to en-US.{dic,aff}, respectively. It did not work!

According to http://kb.mozillazine.org/Dictionaries the dictionaries directory should be added at the same level as the "components" directory. However there are no such directory. I then tried to move the "dictionaries" directory to the "browser" directory, to the "defaults" directory and to the "pref" directory. Nothing worked!

It however still works in older versions of firefox.

Is it no longer possible to use system hunspell dictionaries in firefox? If so why is this very handy feature removed?

/Erik

For long I've been using Firefox and to get the same dictionaries in most applications I used to add the system hunspell dictionaries to firefox by creating symbolic links in <firefox-base-dir>/dictionaries/. I tried to do the same in firefox-67.0.1 and in firefox-68.0b8 (dev). It did not work! I tried to rename the links from, for example, en_US.{dic,aff} to en-US.{dic,aff}, respectively. It did not work! According to http://kb.mozillazine.org/Dictionaries the dictionaries directory should be added at the same level as the "components" directory. However there are no such directory. I then tried to move the "dictionaries" directory to the "browser" directory, to the "defaults" directory and to the "pref" directory. Nothing worked! It however still works in older versions of firefox. Is it no longer possible to use system hunspell dictionaries in firefox? If so why is this very handy feature removed? /Erik

선택된 해결법

Firefox looks for this pref: spellchecker.dictionary_path (hidden and would have to be created) and check this environment variable: DICPATH --- See:

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (5)

more options

선택된 해결법

Firefox looks for this pref: spellchecker.dictionary_path (hidden and would have to be created) and check this environment variable: DICPATH --- See:

글쓴이 cor-el 수정일시

more options

Thank you very much! This solved my problem!

/Erik

more options

From the source code it seems like the default behavior of accepting dictionaries in <install_path>/dictionaries/ was removed in release 62 of Firefox. Using the DICPATH environment variable was added around version 55.

Out of curiosity what was the reason behind removing <install_path>/dictionaries as a default path for adding dictionaries? (As a side note, it should not be too hard to add back the former default behavior as an else clause in the DICPATH code in mozHunspell.cpp.)

/Erik

more options

See also:

  • Bug 1310835 - Search DICPATH for Hunspell dictionaries

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

(I fixed the link to the file in glue instead of src; sorry about that)

more options

Yes, having DICPATH is a very nice feature. However, I can't see why <install_path>/dictionaries and DICPATH are mutually exclusive, and it seems like both methods existed simultaneously up until version 61.