glot لـ Shopware
التجارة الإلكترونية · موصّل
يتصل glot مباشرةً بـ Shopware: يقرأ محتواك ويترجمه وفق مسرد المصطلحات والفحوصات الخاصة بك، ثم يكتب الترجمات في لغات Shopware.
خطوات المنصة مكتوبة بالإنجليزية، بأسماء القوائم كما تظهر في واجهة Shopware.
ربط Shopware
- In glot, open your project → Integrations → Shopware and fill in the connection form (the credentials and permissions it asks for are listed in the docs).
- Click Test connection, then Sync now: glot pulls your content, translates it with your glossary and validation rules, and writes each language back.
- Later changes sync automatically through the webhook URL shown on the card, or on the next scheduled sync.
بديل: الوسم العام
لترجمة ما لا يغطيه تكامل Shopware داخل المتصفح، أضف الوسم العام بدلًا من ذلك.
- في 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 your plugin or theme, create src/Resources/views/storefront/layout/meta.html.twig.
- Start it with {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}.
- Override {% block layout_head_javascript_hmr_mode %}, keep {{ parent() }}, and add the glot tag after it.
- Install/activate the extension and clear the cache (bin/console cache:clear).
الخطط المطلوبة
Works on self-hosted Shopware 6 (any edition). Shopware's docs offer no admin field for custom head scripts; on Shopware SaaS, plugin code cannot be uploaded and templates must ship as an app/theme.
من جهة 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 registrar or DNS provider. On Shopware SaaS, custom domains are added in Settings > System > Domains; the shopware.store default domain cannot be used.
كيف يعمل glot Edgeأسئلة
- هل glot شريك لـ Shopware؟
- لا. glot مستقل، وليس تابعًا لـ Shopware ولا معتمدًا منه. يستخدم هذا الدليل ميزات Shopware القياسية فقط.
- هل يغيّر glot محتواي على Shopware؟
- يبقى محتواك الأصلي كما هو. يكتب glot الترجمات في حقول اللغات في Shopware، حيث يمكنك مراجعتها قبل النشر.
- هل ستفهرس محركات البحث ترجماتي؟
- ليس بالوسم وحده: فهو يترجم في المتصفح، لذا تفهرس محركات البحث لغتك الأصلية في الغالب. تحتاج الصفحات المترجمة ذات الروابط الخاصة إلى glot Edge أو إلى منصة تنشر كل لغة على رابط خاص بها.
- Why must I keep {{ parent() }}?
- Without it the block's core Storefront JavaScript is removed and the shop stops working.
- I'm on Shopware SaaS. Can I add the tag?
- Not from a settings field. You need an app or theme that extends the template; check with your Shopware partner.
الوثائق الرسمية لـ Shopware
ترجم موقعك على Shopware
أنشئ مشروعًا واختر لغاتك واتبع الخطوات أعلاه.
تكاملات أخرى: التجارة الإلكترونية
Shopware علامة تجارية لمالكها. glot ليس تابعًا لـ Shopware.