Ir al contenido

glot para Shopware

E-commerce · Conector

glot se conecta directamente a Shopware: lee tu contenido, lo traduce con tu glosario y tus comprobaciones, y escribe las traducciones en los idiomas de Shopware.

Los pasos de la plataforma están en inglés, con los nombres de menú de la interfaz de Shopware.

Conectar Shopware

  1. 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).
  2. Click Test connection, then Sync now: glot pulls your content, translates it with your glossary and validation rules, and writes each language back.
  3. Later changes sync automatically through the webhook URL shown on the card, or on the next scheduled sync.
Documentación completa del conector

Alternativa: la etiqueta universal

Para traducir en el navegador lo que la integración de Shopware no cubre, añade la etiqueta universal.

  1. En glot, crea un proyecto y añade tus idiomas.
  2. Abre glot Edge → Etiqueta web y escribe la dirección de tu sitio: glot lo traduce y te muestra una vista previa. Una vez pegada la etiqueta, comprueba allí la instalación y actívala.
  3. Copia tu etiqueta desde esa pestaña: ya incluye tu proyecto y su clave pública (data-key). La etiqueta de abajo muestra su forma.
Etiqueta de glot
<script src="https://app.glotlang.com/widget/glot.js" data-project="your-project" data-key="pk_…" async></script>
  1. In your plugin or theme, create src/Resources/views/storefront/layout/meta.html.twig.
  2. Start it with {% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}.
  3. Override {% block layout_head_javascript_hmr_mode %}, keep {{ parent() }}, and add the glot tag after it.
  4. Install/activate the extension and clear the cache (bin/console cache:clear).
Guía de la etiqueta web

Planes necesarios

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.

En glot, consulta los precios para ver qué incluye cada plan. glot Edge (URL traducidas) forma parte del plan Growth, con una prueba limitada en Pro.

URL traducidas para los buscadores

Para páginas traducidas que los buscadores indexen sin ejecutar JavaScript, coloca glot Edge en un subdominio de tu dominio (es.example.com) con dos registros DNS:

Registros DNS (el token TXT aparece en glot Edge → Configuración inicial)
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.

Cómo funciona glot Edge

Preguntas

¿glot es socio de Shopware?
No. glot es independiente y no está afiliado a Shopware ni respaldado por Shopware. Esta guía solo usa las funciones estándar de Shopware.
¿glot modifica mi contenido de Shopware?
Tu contenido de origen queda igual. glot escribe las traducciones en los campos de idioma de Shopware, donde puedes revisarlas antes de publicar.
¿Los buscadores indexarán mis traducciones?
No solo con la etiqueta: traduce en el navegador, así que los buscadores indexan sobre todo tu idioma de origen. Las páginas traducidas con URL propias requieren glot Edge o una plataforma que publique cada idioma en su propia URL.
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.

Documentación oficial de Shopware

Traduce tu sitio de Shopware

Crea un proyecto, elige tus idiomas y sigue los pasos anteriores.

Shopware es una marca de su propietario. glot no está afiliado a Shopware.