Skip to content
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

English spelling stops working when it's used together with a Ukrainian dictionary #5570

Closed
ghost opened this issue Sep 15, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 15, 2022

Description of the bug

When I add the Ukrainian dictionary to the dictionary list, English one stops working.

Steps to reproduce

  1. Download the Ukrainian dictionary
  2. Extract and put it into the Packages/User/Dictionaries
  3. Update Sublime Text dictionary setting
{
	"dictionary": [
		"Packages/Language - English/en_US.dic",
		"Packages/User/Dictionaries/uk_UA.dic",
	],
}
  1. Create a new text file with the next content
Thiiis is the речення with ісьюз.
  1. Enable spell checking

Expected behavior

Thiiis & ісьюз should be marked as words that have spelling issues.

Thiiis is the речення with ісьюз.

Actual behavior

Only ісьюз is marked, but Thiiis it seems ignored.

Sublime Text build number

4134

Operating system & version

Windows 10, 11

(Linux) Desktop environment and/or window manager

No response

Additional information

No response

OpenGL context information

OpenGL Context Information:
  GL API Version: 4.6.0 NVIDIA 516.94
  GLSL Version: 4.60 NVIDIA
  Vendor: NVIDIA Corporation
  Renderer: Quadro T1000/PCIe/SSE2
@BenjaminSchaaf
Copy link
Member

Running hunspell directly it looks like that dictionary simply marks all ascii-words as correct. So ST is doing the right thing here:

$ hunspell -d uk_UA
Hunspell 1.7.0
Thiis
*
$ hunspell -d en_US
Hunspell 1.7.0
Thiis
& Thiis 3 0: Thais, This, Thins

@ghost
Copy link
Author

ghost commented Oct 7, 2022

Thanks for the answer, it helped to find the reason. This one describes how to change the *.aff file to fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants