For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/zh/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/zh/llms-full.txt, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/zh/api/extensions/translate/ApiTranslationAid.md.
  • 中文
  • Interface: ApiTranslationAid

    Defined in: extensions/translate.ts:256

    Payload of one translation aid of action=translationaids, keyed by aid type (the registry is hook-extensible, so the set is open). An aid that cannot run reports ApiTranslationAid.error instead of its data.

    Indexable

    [key: string]: unknown

    Properties

    error?

    optional error?: string

    Defined in: extensions/translate.ts:267

    Rendered reason why this aid is unavailable.


    fuzzy?

    optional fuzzy?: boolean

    Defined in: extensions/translate.ts:264

    Whether the translation is marked out-of-date (fuzzy).


    language?

    optional language?: string

    Defined in: extensions/translate.ts:258

    Language of ApiTranslationAid.value, when language-bound.


    value?

    optional value?: string | null

    Defined in: extensions/translate.ts:261

    The aid's payload, when it is a text value.