←back to thread

1 points oopus | 1 comments | | HN request time: 0.197s | source
1. oopus ◴[] No.41909875[source]
When I used the Wikipedia JS API https://www.npmjs.com/package/wikipedia, I found that it can't search my term in all languages. I couldn't find other solutions except using Franc to detect the language first, but Franc's language codes differ from Wikipedia's. This is why I created this dictionary. If you know of other methods to query JS Wikipedia API in all languages, please let me know. Thanks!