Zum Inhalt springen

glot für Lovable

KI-App-Builder · Universelles Tag

Auf Lovable läuft glot über ein Skript-Tag, das jeder Seite hinzugefügt wird. Es übersetzt die Seite im Browser der Besucher und fügt ein Sprachmenü hinzu.

Die Schritte der Plattform sind auf Englisch, mit den Menünamen der Oberfläche von Lovable.

Das glot-Tag hinzufügen

  1. Erstellen Sie in glot ein Projekt und fügen Sie Ihre Sprachen hinzu.
  2. Öffnen Sie glot Edge → Website-Tag und geben Sie die Adresse Ihrer Website ein: glot übersetzt sie und zeigt Ihnen eine Vorschau. Ist das Tag eingefügt, prüfen Sie dort die Installation und schalten Sie das Tag ein.
  3. Kopieren Sie Ihr Tag aus diesem Tab: Es enthält bereits Ihr Projekt und seinen öffentlichen Schlüssel (data-key). Das Tag unten zeigt seine Form.
glot-Tag
<script src="https://app.glotlang.com/widget/glot.js" data-project="your-project" data-key="pk_…" async></script>
  1. Open your project and click the Code tab in the project toolbar.
  2. In the left file panel, open index.html (or use Search code, Cmd+Shift+F / Ctrl+Shift+F).
  3. Paste the glot tag just before </head>.
  4. Click Save (Cmd+S / Ctrl+S).
  5. Publish the project.
  6. Alternative on any plan: ask the chat "Add this script tag inside <head> of index.html, unchanged: <the glot tag>", then publish.
Anleitung zum Website-Tag

Erforderliche Tarife

Editing files in Code mode requires a paid plan; on the Free plan the editor is read-only. Asking the chat to add the tag works on any plan.

Was jeder glot-Tarif enthält, sehen Sie unter Preise. glot Edge (übersetzte URLs) ist Teil des Growth-Tarifs, mit einer begrenzten Testphase in Pro.

Übersetzte URLs für Suchmaschinen

Für übersetzte Seiten, die Suchmaschinen ohne JavaScript indexieren, setzen Sie glot Edge auf eine Subdomain Ihrer Domain (es.example.com), mit zwei DNS-Einträgen:

DNS-Einträge (das TXT-Token steht in glot Edge → Einrichtung)
es.example.com.        CNAME  edge.glotlang.com.
_glot.es.example.com.  TXT    "<token shown in the dashboard>"

Connecting a custom domain requires a paid plan (Project → Settings → Domains). If the domain uses another provider's nameservers, add the CNAME and TXT at that provider. If it was bought through Lovable, add them in Workspace settings → Workspace domains → your domain → Advanced → DNS records → Add record (CNAME and TXT are supported). Not possible on a lovable.app address.

So funktioniert glot Edge

Fragen

Ist glot ein Partner von Lovable?
Nein. glot ist unabhängig, weder mit Lovable verbunden noch von Lovable empfohlen. Diese Anleitung nutzt nur Standardfunktionen von Lovable.
Ändert glot meine Inhalte in Lovable?
Nein. Das Tag übersetzt die Seite im Browser der Besucher; Ihre Inhalte in Lovable bleiben unverändert. Entfernen Sie das Tag, und die Website ist wieder in der Ausgangssprache.
Indexieren Suchmaschinen meine Übersetzungen?
Mit dem Tag allein kaum: Es übersetzt im Browser, Suchmaschinen indexieren also vor allem Ihre Ausgangssprache. Übersetzte Seiten mit eigenen URLs brauchen glot Edge oder eine Plattform, die jede Sprache unter einer eigenen URL veröffentlicht.
Can a later AI edit remove the tag?
Yes, a regeneration can rewrite index.html. Check that the tag is still in <head> after large changes; each save is in version history.
Will the es. subdomain clash with my Lovable domain?
No. You can connect different subdomains to different targets; es.example.com points to glot while example.com stays on Lovable.

Offizielle Dokumentation von Lovable

Übersetzen Sie Ihre Lovable-Website

Erstellen Sie ein Projekt, wählen Sie Ihre Sprachen und folgen Sie den Schritten oben.

Lovable ist eine Marke ihres Inhabers. glot ist nicht mit Lovable verbunden.