Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API

action=ttmserver

(main | ttmserver)
  • Ten moduł wymaga praw odczytu.
  • Źródło: Przetłumacz
  • Licencja: GPL-2.0-or-later

Query suggestions from translation memories.

Parametry:
service

Which of the available translation services to use.

Jedna z następujących wartości:
sourcelanguage

Kod języka tekstu źródłowego.

Ten parametr jest wymagany.
targetlanguage

The language code of the suggestion.

Ten parametr jest wymagany.
text

The text to find suggestions for.

Ten parametr jest wymagany.
Przykład:
Get suggestions for translating "Help" from English to Finnish
api.php?action=ttmserver&sourcelanguage=en&targetlanguage=fi&text=Help [otwórz w brudnopisie]