Adding a diccionary : Error: the selected file is not a valid dictionary file.
When a dictionary is added, the error appears: the selected file is not a valid dictionary file.
To Reproduce Go to Dicctionaries->Add a dicctionary, and specify a .dic file
App version 3.4
Device:
- Model: Poco Xiaomi HyperOS
- OS: 15
Which file is it? Where did you download it from?
This file https://codeberg.org/Helium314/aosp-dictionaries/src/branch/main/dictionaries/main_ca.dict
It works fine for me. You're adding it to your Catalan language, right?
Yes, but if I add any other language, the same error appears
Works for me when adding
- in Dictionaries using the + button
- in Dictionaries when clicking on a language -> add dictionary from file
- via opening the .dict file in a file explorer
I’ve tried all three options, and none of them worked. The same error in all three cases.
Could it be a permissions issue? I’ve checked the app permissions, but I don’t see any option to allow access to system files.
I’ve installed the app from F-Droid
I don't think it's a permission issue, as you don't need any permissions the way Heliboard accesses the file. Maybe there was some issue with the download? I uploaded the file here main_ca.dict.zip, though you will need to unzip it before Heliboard can use it (GitHub doesn't allow upload otherwise).
Maybe the download was corrupted. You could check whether the file size matches what is expected from the page you linked.