glot لـ Contentful
أنظمة إدارة المحتوى · موصّل
يتصل glot مباشرةً بـ Contentful: يقرأ محتواك ويترجمه وفق مسرد المصطلحات والفحوصات الخاصة بك، ثم يكتب الترجمات في لغات Contentful.
لم نتمكن من تأكيد هذه الخطوات في الوثائق الرسمية لـ Contentful. تحقق منها في مركز مساعدة Contentful قبل الاعتماد عليها.
خطوات المنصة مكتوبة بالإنجليزية، بأسماء القوائم كما تظهر في واجهة Contentful.
ربط Contentful
- In Contentful, add your languages in Settings → Locales, and switch on Enable localization of this field for the fields to translate.
- Copy the Space ID (Settings → General settings) and create a personal access token (Settings → CMA tokens) for a user who can edit entries.
- In glot, open your project → Integrations → Contentful and paste the Space ID, the token and the environment (master if empty).
- Click Sync now. Translated entries stay drafts until you publish them.
- Optional: in Settings → Webhooks, add the card's webhook URL with the triggers Entry: save, auto save, publish.
بديل: الوسم العام
لترجمة ما لا يغطيه تكامل Contentful داخل المتصفح، أضف الوسم العام بدلًا من ذلك.
- في glot، أنشئ مشروعًا وأضف لغاتك.
- افتح glot Edge ← وسم الموقع وأدخل عنوان موقعك: يترجمه glot ويعرض عليك معاينة. بعد لصق الوسم، تحقق من التثبيت في المكان نفسه ثم فعّل الوسم.
- انسخ وسمك من ذلك التبويب: فهو يتضمن مشروعك ومفتاحه العام (data-key). يوضح الوسم أدناه شكله.
<script src="https://app.glotlang.com/widget/glot.js" data-project="your-project" data-key="pk_…" async></script>- Open your front-end project (for example app/layout.tsx in Next.js, or your framework's root HTML template).
- Paste the glot tag in <head>.
- 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:
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.