Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get wikipedia page in multi languages?

Tags:

api

wikipedia

How can I get the same wikipedia page in another language.

For example I want to get this page in Japanese, http://en.wikipedia.org/wiki/Cloud

result is

http://ja.wikipedia.org/wiki/雲 or only the title 雲

Is it possible to use wikipedia API or any other APIs to do this?

Thank You

like image 743
bbnn Avatar asked Dec 12 '10 06:12

bbnn


People also ask

How do I find a Wikipedia page in a different language?

Click on the greyed-out "wiki" field, the final item on the list, and enter a language code (see list of ISO 639-1 codes for all language codes). Click on the greyed-out "page" field (now visible) and type in the name of the article as it appears in that language's Wikipedia.

Does Wikipedia have different languages?

There are currently 328 language editions of Wikipedia (also called language versions, or simply Wikipedias). As of August 2022, the six largest, in order of article count, are the English, Cebuano, German, Swedish, French, and Dutch Wikipedias.

Which Wikipedia page has the most languages?

A Reddit user may have found the culprit: a polyglot Bleu superfan who goes by the aliases "Chase Watson" and "Zimmer611" on Wikipedia. Corbin Bleu's page has gotten 20 more translations since the 2016 MIT study, bringing up his total to 213 languages.

Why does Wikipedia look different in different languages?

Wikipedias also vary by how thinly they slice dialects and variants; for example, the English Wikipedia includes most modern varieties of English (American, British, Indian, South African, etc.), but does not include other related languages such as Scots or Old English/Anglo-Saxon, both of which have separate ...


1 Answers

Lang links property of MediaWiki API is probably what you want. Fetching other languages for your cloud example would look like this.

like image 78
Marek Sapota Avatar answered Oct 06 '22 04:10

Marek Sapota