تخطَّ إلى المحتوى

glot لـ Framer

منشئو المواقع · إضافة

يُثبَّت glot في Framer على شكل إضافة. تشرح الخطوات أدناه إعدادها.

خطوات المنصة مكتوبة بالإنجليزية، بأسماء القوائم كما تظهر في واجهة Framer.

تثبيت إضافة glot

  1. In Framer, add your languages in the Localization panel.
  2. In glot, create an API token (Settings → API tokens) and note your project slug.
  3. Open the glot plugin in Framer (from integrations/framer-plugin in the glot repository: Plugins → Development → Open Development Plugin), then enter the token and the project slug.
  4. Click Sync with glot. Machine translations are flagged Needs review in Framer; translations reviewed in glot are marked done.
  5. To sync without the editor open, run the plugin's Server API script on a schedule with a Framer API key (Site settings → API Keys).
الوثائق الكاملة للموصّل

بديل: الوسم العام

لترجمة ما لا يغطيه تكامل Framer داخل المتصفح، أضف الوسم العام بدلًا من ذلك.

  1. في glot، أنشئ مشروعًا وأضف لغاتك.
  2. افتح glot Edge ← وسم الموقع وأدخل عنوان موقعك: يترجمه glot ويعرض عليك معاينة. بعد لصق الوسم، تحقق من التثبيت في المكان نفسه ثم فعّل الوسم.
  3. انسخ وسمك من ذلك التبويب: فهو يتضمن مشروعك ومفتاحه العام (data-key). يوضح الوسم أدناه شكله.
وسم glot
<script src="https://app.glotlang.com/widget/glot.js" data-project="your-project" data-key="pk_…" async></script>
  1. Open Site Settings (Project Settings) and select the Custom Code tab.
  2. Click Add Script, or + if a script already exists.
  3. Give it a name and paste the glot tag.
  4. Choose the head placement (start or end of <head>) and keep it on all pages.
  5. Set it to run on every page visit.
  6. Publish the site. Custom code does not run on the canvas or in preview.
دليل وسم الموقع

الخطط المطلوبة

Access to custom code requires a paid Framer plan. Custom domains also require a paid plan.

من جهة glot، راجع صفحة الأسعار لمعرفة ما تتضمنه كل خطة. glot Edge (الروابط المترجمة) جزء من خطة Growth، مع تجربة محدودة في Pro.

روابط مترجمة لمحركات البحث

للحصول على صفحات مترجمة تفهرسها محركات البحث دون تشغيل JavaScript، ضع glot Edge على نطاق فرعي من نطاقك (es.example.com) بسجلّي DNS:

سجلات DNS (يظهر رمز TXT في glot Edge ← الإعداد)
es.example.com.        CNAME  edge.glotlang.com.
_glot.es.example.com.  TXT    "<token shown in the dashboard>"

Add the CNAME and TXT records at your domain registrar. For a domain claimed through Framer's Hover offer, add them in Hover. This needs a paid plan with a custom domain, and is not possible on a framer.app/framer.website address.

كيف يعمل glot Edge

أسئلة

هل glot شريك لـ Framer؟
لا. glot مستقل، وليس تابعًا لـ Framer ولا معتمدًا منه. يستخدم هذا الدليل ميزات Framer القياسية فقط.
هل يغيّر glot محتواي على Framer؟
يبقى محتواك الأصلي كما هو. تترجم الإضافة الصفحات في المتصفح، وعند ربطها تكتب الترجمات في حقول لغات تراجعها قبل النشر.
هل ستفهرس محركات البحث ترجماتي؟
ليس بالوسم وحده: فهو يترجم في المتصفح، لذا تفهرس محركات البحث لغتك الأصلية في الغالب. تحتاج الصفحات المترجمة ذات الروابط الخاصة إلى glot Edge أو إلى منصة تنشر كل لغة على رابط خاص بها.
Does it work on the Free plan?
No. Framer says custom code requires a paid plan.
Why don't I see the language menu in the editor?
Framer runs custom code only on the published site. Open the live URL to check.

الوثائق الرسمية لـ Framer

ترجم موقعك على Framer

أنشئ مشروعًا واختر لغاتك واتبع الخطوات أعلاه.

Framer علامة تجارية لمالكها. glot ليس تابعًا لـ Framer.