glot لـ Lovable
منشئو التطبيقات بالذكاء الاصطناعي · الوسم العام
على Lovable، يعمل glot بوسم سكربت واحد يُضاف إلى كل صفحة. يترجم الصفحة في متصفح الزائر ويضيف قائمة للغات.
خطوات المنصة مكتوبة بالإنجليزية، بأسماء القوائم كما تظهر في واجهة Lovable.
إضافة وسم glot
- في glot، أنشئ مشروعًا وأضف لغاتك.
- افتح glot Edge ← وسم الموقع وأدخل عنوان موقعك: يترجمه glot ويعرض عليك معاينة. بعد لصق الوسم، تحقق من التثبيت في المكان نفسه ثم فعّل الوسم.
- انسخ وسمك من ذلك التبويب: فهو يتضمن مشروعك ومفتاحه العام (data-key). يوضح الوسم أدناه شكله.
<script src="https://app.glotlang.com/widget/glot.js" data-project="your-project" data-key="pk_…" async></script>- Open your project and click the Code tab in the project toolbar.
- In the left file panel, open index.html (or use Search code, Cmd+Shift+F / Ctrl+Shift+F).
- Paste the glot tag just before </head>.
- Click Save (Cmd+S / Ctrl+S).
- Publish the project.
- Alternative on any plan: ask the chat "Add this script tag inside <head> of index.html, unchanged: <the glot tag>", then publish.
الخطط المطلوبة
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.
من جهة 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>"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.
كيف يعمل glot Edgeأسئلة
- هل glot شريك لـ Lovable؟
- لا. glot مستقل، وليس تابعًا لـ Lovable ولا معتمدًا منه. يستخدم هذا الدليل ميزات Lovable القياسية فقط.
- هل يغيّر glot محتواي على Lovable؟
- لا. يترجم الوسم الصفحة في متصفح الزائر، ويبقى محتواك على Lovable كما هو. أزل الوسم ويعود الموقع إلى لغته الأصلية.
- هل ستفهرس محركات البحث ترجماتي؟
- ليس بالوسم وحده: فهو يترجم في المتصفح، لذا تفهرس محركات البحث لغتك الأصلية في الغالب. تحتاج الصفحات المترجمة ذات الروابط الخاصة إلى glot Edge أو إلى منصة تنشر كل لغة على رابط خاص بها.
- 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.
الوثائق الرسمية لـ Lovable
ترجم موقعك على Lovable
أنشئ مشروعًا واختر لغاتك واتبع الخطوات أعلاه.
تكاملات أخرى: منشئو التطبيقات بالذكاء الاصطناعي
Lovable علامة تجارية لمالكها. glot ليس تابعًا لـ Lovable.