FreeLanguageTools/vocabsieve

Not working with Serbo-Croatian

Closed this issue · 2 comments

I can't seem to get the app to define Serbian/Croatian words.

There is a definition for the word in Wiktionary, the correct page is shown when I use the Open Webpage function, but it still tells me definition not found.

If Google Translate is set for Dictionary Source 2, it doesn't even populate, even if Google Translate is capable of translating the word.

But the audio for the word is still pulled from Forvo properly.

I'm also not having this problem with other languages (Russian, Spanish, Romanian, Greek, French, etc.). If I switch languages, it works, then going back to Serbian or Croatian breaks it again. It doesn't matter if the word is in Cyrillic or Latin script.

Note: The word in the screenshot is simply "night", a basic word that should be easily definable.

Screenshot_1

I'll probably have to look into adding a map to fix the language codes.

Putting this down here as a note:

Google translate supports: Croatian (hr), Serbian (sr), Bosnian (bs)

English Wiktionary supports: Serbo-Croatian (sh)

No idea why it wouldn't work with Google translate.

In Wiktionary, it doesn't work even though you can see the definition because the definition is listed as Serbo-Croatian, not Serbian.

Looks like I should force all Serbian, Croatian, and Bosnian lookups to Serbo-Croatian for Wiktionary.

Yeah, as far as I can tell, Wiktionary always lists BCS words as Serbo-Croatian. If there's a difference in usage, it's mentioned in the definitions.

I just tried it with a cognate with other Slavic languages (жена) and 'Open Webpage' just directs to the top of the page and not a specific definition. If I do the same word in Russian, it directs to the Russian definition.

So, what you said would make sense; it's pulling up the right page because the spelling matches but it doesn't know which definition to use.