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

glot لـ Salesforce Commerce Cloud (B2C)

المؤسسات · الوسم العام

على Salesforce Commerce Cloud (B2C)، يعمل glot بوسم سكربت واحد يُضاف إلى كل صفحة. يترجم الصفحة في متصفح الزائر ويضيف قائمة للغات.

لم نتمكن من تأكيد هذه الخطوات في الوثائق الرسمية لـ Salesforce Commerce Cloud (B2C). تحقق منها في مركز مساعدة Salesforce Commerce Cloud (B2C) قبل الاعتماد عليها.

خطوات المنصة مكتوبة بالإنجليزية، بأسماء القوائم كما تظهر في واجهة Salesforce Commerce Cloud (B2C).

إضافة وسم glot

  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. Ask your developer or agency; this is a code change, not a Business Manager setting.
  2. In a custom cartridge (never the base app_storefront_base cartridge), override the head template common/htmlHead.isml or register a script on the app.template.htmlHead hook in hooks.json.
  3. Add the glot tag so it renders inside <head> on every page.
  4. Make sure the custom cartridge is on the site's cartridge path, deploy the code version and activate it.
  5. For PWA Kit / composable storefronts, add the tag to the app's document head component instead.
دليل وسم الموقع

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

Requires code access to the storefront cartridges (developer or partner). No self-serve plan option.

من جهة 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 DNS provider. Enterprise storefronts run on your own domain, often behind eCDN; make sure the es. subdomain is not routed to SFCC.

كيف يعمل glot Edge

أسئلة

هل glot شريك لـ Salesforce Commerce Cloud (B2C)؟
لا. glot مستقل، وليس تابعًا لـ Salesforce Commerce Cloud (B2C) ولا معتمدًا منه. يستخدم هذا الدليل ميزات Salesforce Commerce Cloud (B2C) القياسية فقط.
هل يغيّر glot محتواي على Salesforce Commerce Cloud (B2C)؟
لا. يترجم الوسم الصفحة في متصفح الزائر، ويبقى محتواك على Salesforce Commerce Cloud (B2C) كما هو. أزل الوسم ويعود الموقع إلى لغته الأصلية.
هل ستفهرس محركات البحث ترجماتي؟
ليس بالوسم وحده: فهو يترجم في المتصفح، لذا تفهرس محركات البحث لغتك الأصلية في الغالب. تحتاج الصفحات المترجمة ذات الروابط الخاصة إلى glot Edge أو إلى منصة تنشر كل لغة على رابط خاص بها.
Can a merchandiser add this in Business Manager?
Not as documented here; SFRA head changes are done in a custom cartridge by a developer.

ترجم موقعك على Salesforce Commerce Cloud (B2C)

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

Salesforce Commerce Cloud (B2C) علامة تجارية لمالكها. glot ليس تابعًا لـ Salesforce Commerce Cloud (B2C).