قائمة الوثائق
البداية
ما هو Opus Growthبدء سريعأضفه إلى الذكاء الاصطناعيكيف يعملالأمان والموافقةالرصيدالخططالأسئلة الشائعةتطبيقات الذكاء الاصطناعي
كل التطبيقاتChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfMCP أخرىمنصات الإعلانات
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT Adsالوكالات وMCCمصادر البيانات
Search ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag Managerالمواقع وSEO
AI ServerWordPressSEO Intelligenceالنقرات الاحتياليةمرجع الأدوات
كل الأدواتGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWordPressAI ServerSEO Intelligenceالنقرات الاحتياليةعبر القنواتالحساب والفوترةاللغة
WordPress Site Languages
Lists the languages a multilingual WordPress site (Polylang / WPML) is set up for, and ADDS a new one.
- النوع
- يُجري تغييرات
- الرصيد
- 1
- المنصة
- WordPress
- الموافقة
- معاينة أولًا، وتُطبَّق بعد موافقتك
ماذا يفعل
Lists the languages a multilingual WordPress site (Polylang / WPML) is set up for, and ADDS a new one. action: 'list' (default) | 'add'.
Adding the language is the FIRST step of publishing a site in another language, and skipping it fails silently: wordpress_create_post(language='de') answers ok while Polylang quietly ignores an unregistered language, so the page ends up with no language at all and falls back to the default one on its next save. list shows each language's code, locale, writing direction, post count and which one is the default.
For 'add', code is the language code you will pass to wordpress_create_post ('de', 'ru', 'ar', 'fr'); locale is optional and derived from the code when omitted; the writing direction is set automatically for right-to-left languages (Arabic, Hebrew, Persian, Urdu) unless you pass rtl yourself. Adding a language is a structural change to a multilingual site, so confirm=false PREVIEWS it — the reply says whether it can actually be added before anything is written. Adding a language twice is safe — the existing one is reported back. WPML has no API for adding languages, so there the reply says to use the WPML screen. After adding a language, create its pages and then connect them with wordpress_link_translations, otherwise the language switcher and the hreflang tags stay empty.
وصف الأداة بالإنجليزية لأنه النص الرسمي الذي يراه الذكاء الاصطناعي.
MCP: wordpress_languages
كيفية الاستخدام
لا تستدعي الأدوات بأسمائها. اكتب ما تريد في ChatGPT أو Claude أو أي مساعد متصل بـ Opus Growth بكلماتك، وسيختار الذكاء الاصطناعي هذه الأداة عندما تناسب.
المعلمات
| الاسم | النوع | إلزامي | الافتراضي | |
|---|---|---|---|---|
| action | string | اختياري | list | list · add · Requested action for the selected resource; choose one of the actions allowed by this schema. |
| code | string | اختياري | · | Exact code value for wordpress languages. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation. |
| name | string | اختياري | · | Human-readable name for the resource being created or updated. |
| locale | string | اختياري | · | Exact locale value for wordpress languages. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation. |
| rtl | boolean | اختياري | · | Rtl value for wordpress languages. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible. |
| order | integer | اختياري | 0 | Numeric order value for wordpress languages. Use the provider's expected unit, range, and precision. |
| flag | string | اختياري | · | Exact flag value for wordpress languages. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation. |
| site_url | string | اختياري | · | Exact URL of the connected WordPress site to target when more than one site is available. |
| confirm | boolean | اختياري | false | Safety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change. |
أدوات ذات صلة
list_wordpress_sitesBulk Find & Replace (WordPress)wordpress_bulk_replaceWordPress WP-CLI Commandwordpress_cliList WordPress Contact Formswordpress_contact_formsWordPress Core Info Fileswordpress_core_filesCreate WordPress Postwordpress_create_postWordPress Critical CSS (status / regenerate)wordpress_critical_cssEdit WordPress Menuwordpress_edit_menuEdit WordPress Page Designwordpress_edit_page_design