View Single Post
Old 02-22-2016, 07:59 AM   #7
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,758
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
The %s is used a little further down with string.format:

string.format(self.wiki_server, lang or self.default_lang)

The lang variable is set in frontend/ui/translator.lua, although given that we're dealing with single words I don't know about the viability of that approach.

Anyway, did you try the Wikipedia API without bothering with the KOReader code?
Frenzie is offline   Reply With Quote