On Fri, Jan 27, 2017 at 10:57 AM, Max Vlasov <max.vlasov(a)gmail.com> wrote:
Is there a way to get a localized version of section
names of an article,
for example "See also"? Currently my question is related to section names,
but in general I would like to get language equivalent for other semantic
entities. Are there docs about such things? I tried to find but failed.
For section names, no. There's nothing special about the title of the "See
also" section versus any other section on any other page, unless the wiki
is specifically loading i18n messages for section headings like Commons
For interface messages, you'd need to determine the message key. Then you
can query them from the API (action=query&meta=allmessages) or you can look
on the wiki in the MediaWiki namespace. For example, the text of the "edit"
tab in the Vector skin comes from the message 'vector-view-edit', so if you
want to see what that is in German on your wiki you could check
Brad Jorsch (Anomie)
Senior Software Engineer