MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=searchtranslations

(main | searchtranslations)
  • Voor deze module zijn leesrechten nodig.
  • Source: Translate
  • License: GPL-2.0-or-later

Search translations.

Parameters:
service

Which of the available translation services to use.

One of the following values:
query

The string to search for.

This parameter is required.
sourcelanguage

The language code of the source text.

Standaard: nl
language

The language code to search string for.

Default: (empty)
group

The group ID to search string in.

Default: (empty)
filter

Message translation status filter.

One of the following values: Can be empty, or translated, fuzzy, untranslated
Default: (empty)
match

Match any/all search words.

Default: (empty)
case

Case (in)sensitive search.

Standaard: 0
offset

Offset for the translations.

Type: integer
Standaard: 0
limit

Size of the result.

No more than 50 (500 for bots) allowed.
Type: integer or max
Standaard: 25
Voorbeelden:
Show translations for the language.
api.php?action=searchtranslations&language=fr&query=aide [open in sandbox]
Show untranslated messages matching the query in the source language.
api.php?action=searchtranslations&language=fr&query=edit&filter=untranslated [open in sandbox]