-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rockat.chat update into 2.17.3 leave reference of deleted dictionaries #1497
Comments
The app always get the list of dictionaries by looking at the directory; nothing is cached besides the list of enabled ones. Is this happening even after restarting the app? |
@tassoevan yes, is happening even deleting \AppData\Roaming\Rocket.Chat folder. |
@Xarkam @ankar84 What about the |
@tassoevan no because it's come from Office I have already searched for all the .dic files on my disks and cannot find anything. In my listing the fr_FR-3-0 come from chrome. |
For me it is 2 folders in c:\Users\UserName\AppData\Roaming\Microsoft\Spelling\ folder I updated to 2.17.5 Then I copied dictionary file from c:\Users\UserName\AppData\Local\Google\Chrome\User Data\ru-RU-3-0.bdic to c:\Program Files\Rocket.Chat\resources\dictionaries\ru-RU.bdic again and restart Rocket.Chat |
With version 2.17.7 dictionary selection is much better. And en-US spell checker works fine. |
@ankar84 I've rolled-back to plain text dictionaries (pair of |
Yes. |
Other issue : #1426 Version 2.17.7 offers few languages. There is no French whereas in a previous version, French was offered. |
Again, French was not included by default in the past, nor have there been more languages included than your current list. At least not since 2.15 when I started using RC. You must have added it yourself manually. To have more included by default is a different discussion/issue though. |
I tested last night under linux (arch) and I added the hunspell dictionary fr without problem by copy, but only with the root account. I will test the day under windows if the addition goes well. |
Sorry but it looks like it is not a manual installation. Several colleagues installed the windows client and the fix worked. Personally, I keep the Windows client up to date to make sure it works properly before encouraging my colleagues to update their client. Currently, a colleague, with version 2.15.5 has several dictionaries and the correction in French works. He did not do manual installation. Its dictionary folder does not contain the languages offered in the rocketchat menu. I found issues out. With this #169 I went back to the sources of Atom atom/node-spellchecker#51. atom/node-spellchecker#69 and atom/node-spellchecker#54 lets me imagine that a version of Atom allowed in a previous version to search for dictionaries on a PC. I have not analyzed the rocketchat code. I don't have the skills. Does this hypothesis seem plausible to you ? This could explain why the menu offers dictionaries that are not available in the rocketchat dictionaries folder. |
I confirm my previous message. On my computer, I uninstalled the windows client version 2.17.7 by deleting the user data. I installed version 2.15.5. I have not installed additional dictionaries. Spelling correction works in French. Rocktechat offers 20 dictionaries. Version 2.15.5 : https://github.com/RocketChat/Rocket.Chat.Electron/releases/tag/2.15.5 |
They are not included in the different ZIPs, nor the DEB. So unless the EXE is the exception, they must be obtained in some other way on your system, or maybe some stale resource folder somewhere. |
2.15.5 uses the
According to https://docs.microsoft.com/en-us/windows/win32/intl/about-the-spell-checker-api:
Please notice that all French dictionary names have hyphens (e.g. 2.17.7 depends on |
I confirm that pre 2.17.7 versions find a lot of system (?) dictionaries, because they have hyphens in their names (like en-US). Version 2.17.7 find only dictionaries in folder c:\Program Files\Rocket.Chat\resources\dictionaries\ and one can easy check it by underscores in their names (en_US). But anyway, I did not find the way to add Russian Spell checker functionality with two different Hunspell dictionaries: one and two
Part of code:
|
Too bad non of that automatic importing has ever worked on Ubuntu (no matter which package was used) : #1077 |
@Forage Since now we have some fine control over where to look for dictionaries, we don't need to wait for changes in those packages anymore. |
Closed by #1737 |
My Setup
Description
Current Behavior
I have updated Rocketchat from 2.17.2 to 2.17.3.
I still see the list of old dictionaries used in the old format.
But, they were installed in the dictionaries folder:
C:\Program Files\Rocket.Chat\resources\dictionaries
I added the new FR dictionary from chrome.
The correction no longer works. As on the capture we see that no dictionaries are selected. That's why it doesn't work anymore. When I click to select a dictionary present on the disc, I do not have the check mark in the menu.
I do not understand how the list of old format dictionaries is still present.
There are no errors in the console.
Expected Behavior
Using dictionary
The text was updated successfully, but these errors were encountered: