glot لـ Elementor
منشئو المواقع · إضافة
يُثبَّت glot في Elementor على شكل إضافة. تشرح الخطوات أدناه إعدادها.
خطوات المنصة مكتوبة بالإنجليزية، بأسماء القوائم كما تظهر في واجهة Elementor.
تثبيت إضافة glot
- Download glot.zip (built from integrations/wordpress-plugin in the glot repository; it isn't on WordPress.org yet). It needs WordPress 6.1+ and PHP 7.4+.
- In WordPress, go to Plugins → Add New → Upload Plugin, upload glot.zip and activate it.
- Open Settings → glot and enter your project slug, your public key (pk_…, never a secret glot_… key), the source language and your languages, then save. The plugin adds glot.js to every front-end page.
- Optional: place the language switcher with the [glot_switcher] shortcode, the glot language switcher widget or block, or the Elementor widget; otherwise it sits in the corner you picked.
- Optional: for translated URLs, set up glot Edge (subdomain or subdirectory) and choose it as the SEO mode, so the plugin adds hreflang links to the Edge pages.
- Optional: click Connect to glot with a glot API token to link the WordPress connector, so translations are also written into Polylang Pro or WPML posts.
بديل: الوسم العام
لترجمة ما لا يغطيه تكامل Elementor داخل المتصفح، أضف الوسم العام بدلًا من ذلك.
- في glot، أنشئ مشروعًا وأضف لغاتك.
- افتح glot Edge ← وسم الموقع وأدخل عنوان موقعك: يترجمه glot ويعرض عليك معاينة. بعد لصق الوسم، تحقق من التثبيت في المكان نفسه ثم فعّل الوسم.
- انسخ وسمك من ذلك التبويب: فهو يتضمن مشروعك ومفتاحه العام (data-key). يوضح الوسم أدناه شكله.
<script src="https://app.glotlang.com/widget/glot.js" data-project="your-project" data-key="pk_…" async></script>- In WP Admin, go to Elementor → Custom Code.
- Click Add New Custom Code.
- Enter a Title, set Location to <head>, and paste the glot tag into the code editor.
- In the Publish box, click Edit next to Conditions and set the snippet to show on the entire site.
- Click Publish.
الخطط المطلوبة
Custom Code is available on Advanced Solo, Advanced, Expert and Agency plans. It is not included in the Essential plan or in free Elementor. Without it, use a header/footer plugin as on any WordPress site.
من جهة glot، راجع صفحة الأسعار لمعرفة ما تتضمنه كل خطة. glot Edge (الروابط المترجمة) جزء من خطة Growth، مع تجربة محدودة في Pro.
روابط مترجمة لمحركات البحث
للحصول على صفحات مترجمة تفهرسها محركات البحث دون تشغيل JavaScript، ضع glot Edge على نطاق فرعي من نطاقك (es.example.com) بسجلّي DNS:
es.example.com. CNAME edge.glotlang.com.
_glot.es.example.com. TXT "<token shown in the dashboard>"Add the CNAME and TXT at your domain's DNS provider. On Elementor Hosting with a domain managed by Elementor, use Manage DNS → Add Record, which supports CNAME and TXT.
كيف يعمل glot Edgeأسئلة
- هل glot شريك لـ Elementor؟
- لا. glot مستقل، وليس تابعًا لـ Elementor ولا معتمدًا منه. يستخدم هذا الدليل ميزات Elementor القياسية فقط.
- هل يغيّر glot محتواي على Elementor؟
- يبقى محتواك الأصلي كما هو. تترجم الإضافة الصفحات في المتصفح، وعند ربطها تكتب الترجمات في حقول لغات تراجعها قبل النشر.
- هل ستفهرس محركات البحث ترجماتي؟
- ليس بالوسم وحده: فهو يترجم في المتصفح، لذا تفهرس محركات البحث لغتك الأصلية في الغالب. تحتاج الصفحات المترجمة ذات الروابط الخاصة إلى glot Edge أو إلى منصة تنشر كل لغة على رابط خاص بها.
- I only have free Elementor.
- Custom Code is a Pro feature. Install a header/footer code plugin like WPCode and paste the tag there instead.
الوثائق الرسمية لـ Elementor
ترجم موقعك على Elementor
أنشئ مشروعًا واختر لغاتك واتبع الخطوات أعلاه.
تكاملات أخرى: منشئو المواقع
Elementor علامة تجارية لمالكها. glot ليس تابعًا لـ Elementor.