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

glot لـ Contentful

أنظمة إدارة المحتوى · موصّل

يتصل glot مباشرةً بـ Contentful: يقرأ محتواك ويترجمه وفق مسرد المصطلحات والفحوصات الخاصة بك، ثم يكتب الترجمات في لغات Contentful.

لم نتمكن من تأكيد هذه الخطوات في الوثائق الرسمية لـ Contentful. تحقق منها في مركز مساعدة Contentful قبل الاعتماد عليها.

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

ربط Contentful

  1. In Contentful, add your languages in Settings → Locales, and switch on Enable localization of this field for the fields to translate.
  2. Copy the Space ID (Settings → General settings) and create a personal access token (Settings → CMA tokens) for a user who can edit entries.
  3. In glot, open your project → Integrations → Contentful and paste the Space ID, the token and the environment (master if empty).
  4. Click Sync now. Translated entries stay drafts until you publish them.
  5. Optional: in Settings → Webhooks, add the card's webhook URL with the triggers Entry: save, auto save, publish.
الوثائق الكاملة للموصّل

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

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

  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 your front-end project (for example app/layout.tsx in Next.js, or your framework's root HTML template).
  2. Paste the glot tag in <head>.
  3. Deploy the front end.
دليل وسم الموقع

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

Not a Contentful setting; it is your front-end code. No Contentful plan limit.

من جهة 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>"

The custom domain belongs to your front-end host, not Contentful. Add the CNAME and TXT at your DNS provider. Not possible on a host's free subdomain.

كيف يعمل glot Edge

أسئلة

هل glot شريك لـ Contentful؟
لا. glot مستقل، وليس تابعًا لـ Contentful ولا معتمدًا منه. يستخدم هذا الدليل ميزات Contentful القياسية فقط.
هل يغيّر glot محتواي على Contentful؟
يبقى محتواك الأصلي كما هو. يكتب glot الترجمات في حقول اللغات في Contentful، حيث يمكنك مراجعتها قبل النشر.
هل ستفهرس محركات البحث ترجماتي؟
ليس بالوسم وحده: فهو يترجم في المتصفح، لذا تفهرس محركات البحث لغتك الأصلية في الغالب. تحتاج الصفحات المترجمة ذات الروابط الخاصة إلى glot Edge أو إلى منصة تنشر كل لغة على رابط خاص بها.
Does glot translate the content stored in Contentful?
The tag translates the pages your front end renders. Entries in Contentful are not changed.

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

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

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

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