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

glot لـ Shopify

التجارة الإلكترونية · موصّل

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

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

ربط Shopify

  1. In glot, open your project → Integrations → Shopify, enter your store domain (my-store.myshopify.com) and click Connect. Approve the access in Shopify: you come back connected, with no token to copy.
  2. If the Connect button isn't offered on your glot server: create an app in the Shopify Dev Dashboard with the scopes read_translations, write_translations, read_locales, write_locales, read_products, read_content, read_online_store_pages, read_online_store_navigation, read_themes and read_metaobjects, install it on your store, then paste its Client ID and Client secret in the form. glot renews the 24-hour access tokens itself. A custom app created in the store admin before 2026 can still use its shpat_… token.
  3. glot reads your store and shows a preview: items per content type, languages, words to translate and the estimated cost. Nothing is translated or written yet.
  4. Choose Translate and publish, or Translate, I publish myself to review the changes first. Translations already edited by hand in Shopify are kept.
  5. A language missing from the store is added unpublished: publish it in Shopify under Settings → Languages when you're ready.
الوثائق الكاملة للموصّل

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

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

  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. From your Shopify admin, go to Online Store.
  2. Optional but recommended: duplicate your theme first so you can roll back.
  3. Click the horizontal menu icon (three dots) next to your theme, then select Edit code.
  4. In the Layout folder, open theme.liquid.
  5. Paste the glot tag inside <head>, just before </head>.
  6. Click Save.
دليل وسم الموقع

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

Theme code editing is available on all plans, but only for a theme you own: a trial of a paid theme must be purchased before you can edit its code. The tag does not run on checkout, Thank you or Order status pages.

من جهة 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 at your domain registrar, or, if your domain is managed by Shopify, in Settings > Domains > (your domain) > DNS settings > Manage > Add custom record. Not possible on a myshopify.com address, and not shown if the domain uses custom nameservers (edit DNS where those nameservers are hosted).

كيف يعمل glot Edge

أسئلة

هل glot شريك لـ Shopify؟
لا. glot مستقل، وليس تابعًا لـ Shopify ولا معتمدًا منه. يستخدم هذا الدليل ميزات Shopify القياسية فقط.
هل يغيّر glot محتواي على Shopify؟
يبقى محتواك الأصلي كما هو. يكتب glot الترجمات في حقول اللغات في Shopify، حيث يمكنك مراجعتها قبل النشر.
هل ستفهرس محركات البحث ترجماتي؟
ليس بالوسم وحده: فهو يترجم في المتصفح، لذا تفهرس محركات البحث لغتك الأصلية في الغالب. تحتاج الصفحات المترجمة ذات الروابط الخاصة إلى glot Edge أو إلى منصة تنشر كل لغة على رابط خاص بها.
Will glot translate my Shopify checkout?
No. Checkout steps, and since 2025 the Thank you and Order status pages, do not run theme code or custom scripts. Shopify translates checkout text itself based on the store languages.
Can I add glot without editing theme.liquid?
Yes, on Online Store 2.0 themes: glot's theme app extension (integrations/shopify-app in the glot repository) adds glot.js and a language switcher as an app embed. It isn't on the Shopify App Store; you install it as your own custom app with Shopify CLI, then turn it on in the theme editor under App embeds. See the glot docs, Shopify app embed.
What happens if I switch themes?
The tag lives in the theme's code, so you must add it again to theme.liquid of the new theme (app embeds also need to be re-enabled on a new theme).

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

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

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

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