Skip to content

Fix broken French and Swedish spell-check dictionary URLs (#12267)#12275

Merged
niksedk merged 1 commit into
mainfrom
fix/french-swedish-dictionary-urls-12267
Jul 8, 2026
Merged

Fix broken French and Swedish spell-check dictionary URLs (#12267)#12275
niksedk merged 1 commit into
mainfrom
fix/french-swedish-dictionary-urls-12267

Conversation

@niksedk

@niksedk niksedk commented Jul 8, 2026

Copy link
Copy Markdown
Member

Problem

Fixes #12267. The French spell-check dictionary (and both Swedish variants) could not be downloaded — the download silently failed with "Download failed". The OCR dictionary for French worked because it uses a different source.

Cause

The download list (src/ui/Assets/HunspellDictionaries.json) points at the LibreOffice dictionaries repo. LibreOffice reorganized the fr_FR and sv_SE folders, moving the .aff/.dic files into a dictionaries/ subfolder. The old URLs now return 404.

Verification

I checked all 89 dictionaries / 164 file URLs in the list via parallel HTTP requests (following redirects). Exactly 3 dictionaries were broken, all for the same reason:

Dictionary Old path (404) Fixed path
French fr_FR/fr.{aff,dic} fr_FR/dictionaries/fr.{aff,dic}
Swedish sv_SE/sv_SE.{aff,dic} sv_SE/dictionaries/sv_SE.{aff,dic}
Swedish (Finland) sv_SE/sv_FI.{aff,dic} sv_SE/dictionaries/sv_FI.{aff,dic}

The other 86 dictionaries (161 URLs) all resolve fine — only fr_FR and sv_SE were reorganized upstream.

Fix

Updated the 6 affected URLs to the new dictionaries/ subfolder. After the change, all 164 URLs resolve (200/206) and the JSON remains valid.

🤖 Generated with Claude Code

LibreOffice moved the .aff/.dic files for fr_FR and sv_SE into a
dictionaries/ subfolder, so the download URLs in HunspellDictionaries.json
returned 404 and the download silently failed. This affected French,
Swedish and Swedish (Finland).

Point the 6 affected URLs at the new dictionaries/ subfolder. Verified all
164 dictionary file URLs in the list now resolve (200/206).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@niksedk niksedk merged commit 03b0a2e into main Jul 8, 2026
1 of 3 checks passed
@niksedk niksedk deleted the fix/french-swedish-dictionary-urls-12267 branch July 8, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

French dictionary unavailable

1 participant