Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

fix language code verification #7

Closed
wants to merge 1 commit into from
Closed

Conversation

Kumirei
Copy link

@Kumirei Kumirei commented Feb 22, 2022

See the Dictionary API for supported language codes.
https://github.com/meetDeveloper/freeDictionaryAPI/blob/master/modules/utils.js

Verification was broken for languages that do not have the word "test", as the API returns 404 when the word is not found. better to just check against a list of language codes.

@Kumirei
Copy link
Author

Kumirei commented Feb 22, 2022

Turns out that the Dictionary API only supports English as of a couple of days ago.

meetDeveloper/freeDictionaryAPI#102 (comment)

@Kumirei Kumirei closed this Feb 22, 2022
@awesmubarak
Copy link
Owner

This is a shame, but thanks for trying to fix it regardless!

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

Successfully merging this pull request may close these issues.

2 participants