List WPML Languages
Lists the languages active in WPML with each one's code, name in English and in itself, locale, whether it is the default, and its home address, plus the post types WPML translates and whether WPML String Translation is active. Read-only. Start here: the language codes it returns are what the other WPML abilities take.
Also known as: site languages, which languages is my site in, multilingual setup, WPML languages.
| Property | Value |
|---|---|
| Ability slug | mosmcp/wpml-list-languages |
| Wire tool name | mosmcp__wpml-list-languages |
| Category | WPML (mosmcp-wpml) |
| Plan | Pro |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_posts |
| Minimum default role | Contributor |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
Takes no input. Send "input": {} (or omit input).
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| default_language | string | Yes | Code of the default language. |
| count | integer | Yes | |
| languages | object[] | Yes | |
| languages[].code | string | Yes | The language code the other abilities take, for example "fr". |
| languages[].name | string | Yes | Its name in the admin's language. |
| languages[].native_name | string | Its name in itself, for example "Français". | |
| languages[].locale | string | WordPress locale, for example "fr_FR". | |
| languages[].url_code | string | The code used in its addresses, when it differs from code. | |
| languages[].is_default | boolean | Yes | |
| languages[].url | string | Its home address. | |
| languages[].flag_url | string | ||
| translated_post_types | string[] | Post types WPML is set to translate. | |
| string_translation_active | boolean | Whether the WPML String Translation add-on is active, which mosmcp/wpml-update-string-translation needs. | |
| languages_url | string | ||
| notes | string[] |
| << Previous | Next >> |
|---|---|
| List Untranslated Content | Set Post Language |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.