diff --git a/i18n.lock b/i18n.lock index 893a7de6a..498e5eec0 100644 --- a/i18n.lock +++ b/i18n.lock @@ -10,9 +10,9 @@ checksums: content/6: e8f224099ddfc434b281b592575f8606 content/7: 463b13b8d939ec534c0b9d3245deeb96 content/8: 694bfbbfabb3f70982aebfe8fa249e58 - content/9: 6f957c171f0d5f9840f0ad1e5c09bb44 + content/9: ac101930f55ee78edf9220bb23b8a672 content/10: a9c2e4ade137ba3d8978b9b7988929cf - content/11: ff619121cdfaa897f567bb2850ab678d + content/11: c862ebfb07dd4a4d421a049fadb164ff content/12: 5ed47675e7c56808a363b391240560c4 content/13: 0d25961f9ce4056854c9d5ad9ccbc1c8 content/14: 51adf33450cab2ef392e93147386647c @@ -42,7 +42,7 @@ checksums: content/38: eb9e72b970c23be10290eecb06101724 content/39: 97a4f55ecfa2cf1560c92001c13bfb08 content/40: 50807ce1a32e29e02d3fe982cf18b1fd - content/41: 8578ee99615cb37d0f58ac284eedeb89 + content/41: 15c0fd631a07d8c7fbd3acb98d10d97a content/42: c7315dc914f85a8e7be1553e0458fdda content/43: a15715eea8694ee737338c021ea79787 content/44: 3194966101f0d8ea12b02a4dcaa34d0e diff --git a/readme/ar.md b/readme/ar.md index ba4c3e60b..8354ae540 100644 --- a/readme/ar.md +++ b/readme/ar.md @@ -79,20 +79,24 @@ قم بالتثبيت مرة واحدة: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` قم بالتفعيل في إعدادات البناء الخاصة بك: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` قم بتشغيل `next build` وشاهد حزم الإسبانية والفرنسية تظهر ✨ @@ -193,7 +197,7 @@ const translated = await lingoDotDev.localizeObject(content, { ## ⭐ تاريخ النجوم -إذا أعجبك ما نقوم به، امنحنا ⭐ وساعدنا للوصول إلى 5,000 نجمة! 🌟 +إذا أعجبك ما نقوم به، امنحنا ⭐ وساعدنا في الوصول إلى 6,000 نجمة! 🌟 [ diff --git a/readme/bn.md b/readme/bn.md index 4e56a1d0b..d336e4c37 100644 --- a/readme/bn.md +++ b/readme/bn.md @@ -79,20 +79,24 @@ একবার ইনস্টল করুন: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` আপনার বিল্ড কনফিগে সক্রিয় করুন: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` `next build` চালান এবং স্প্যানিশ ও ফরাসি বান্ডলগুলি দেখুন ✨ @@ -193,7 +197,7 @@ const translated = await lingoDotDev.localizeObject(content, { ## ⭐ স্টার হিস্টরি -আমরা যা করছি তা যদি আপনার পছন্দ হয়, আমাদের একটি ⭐ দিন এবং ৫,০০০ স্টার পৌঁছাতে সাহায্য করুন! 🌟 +আপনি যদি আমাদের কাজ পছন্দ করেন, আমাদের একটি ⭐ দিন এবং ৬,০০০ তারকায় পৌঁছাতে সাহায্য করুন! 🌟 [ diff --git a/readme/de.md b/readme/de.md index 16eed109e..38b0db189 100644 --- a/readme/de.md +++ b/readme/de.md @@ -79,20 +79,24 @@ Einmalige Installation: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` In deiner Build-Konfiguration aktivieren: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` Führe `next build` aus und sieh zu, wie spanische und französische Bundles erscheinen ✨ @@ -193,7 +197,7 @@ Wir sind community-orientiert und lieben Beiträge! ## ⭐ Star-Verlauf -Wenn Ihnen gefällt, was wir tun, geben Sie uns einen ⭐ und helfen Sie uns, 5.000 Sterne zu erreichen! 🌟 +Wenn Ihnen gefällt, was wir tun, geben Sie uns einen ⭐ und helfen Sie uns, 6.000 Sterne zu erreichen! 🌟 [ diff --git a/readme/es.md b/readme/es.md index 8bf22a12f..6d02f46a8 100644 --- a/readme/es.md +++ b/readme/es.md @@ -79,20 +79,24 @@ Instala una vez: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` Habilita en tu configuración de compilación: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` Ejecuta `next build` y observa cómo aparecen los paquetes en español y francés ✨ @@ -193,7 +197,7 @@ Somos impulsados por la comunidad y nos encantan las contribuciones! ## ⭐ Historial de estrellas -Si te gusta lo que estamos haciendo, danos una ⭐ y ayúdanos a alcanzar 5.000 estrellas! 🌟 +Si te gusta lo que hacemos, danos una ⭐ y ayúdanos a alcanzar las 6000 estrellas! 🌟 [ diff --git a/readme/fa.md b/readme/fa.md index e4b97debb..52a722cda 100644 --- a/readme/fa.md +++ b/readme/fa.md @@ -79,20 +79,24 @@ یک بار نصب کنید: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` در پیکربندی ساخت خود فعال کنید: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` دستور `next build` را اجرا کنید و ببینید که بسته‌های اسپانیایی و فرانسوی ظاهر می‌شوند ✨ @@ -193,7 +197,7 @@ const translated = await lingoDotDev.localizeObject(content, { ## ⭐ تاریخچه ستاره‌ها -اگر از آنچه انجام می‌دهیم خوشتان می‌آید، به ما ⭐ بدهید و به ما کمک کنید به ۵,۰۰۰ ستاره برسیم! 🌟 +اگر از کاری که انجام می‌دهیم خوشتان می‌آید، به ما یک ⭐ بدهید و به ما کمک کنید به 6000 ستاره برسیم! 🌟 [ diff --git a/readme/fr.md b/readme/fr.md index b8a18d895..152dad70d 100644 --- a/readme/fr.md +++ b/readme/fr.md @@ -79,20 +79,24 @@ Installez une seule fois : ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` Activez dans votre configuration de build : -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` Exécutez `next build` et regardez les bundles en espagnol et en français apparaître ✨ @@ -193,7 +197,7 @@ Nous sommes orientés communauté et adorons les contributions ! ## ⭐ Historique des étoiles -Si vous aimez ce que nous faisons, donnez-nous une ⭐ et aidez-nous à atteindre 5 000 étoiles ! 🌟 +Si vous aimez ce que nous faisons, donnez-nous une ⭐ et aidez-nous à atteindre 6 000 étoiles ! 🌟 [ diff --git a/readme/he.md b/readme/he.md index 3d02d1a41..3983c6810 100644 --- a/readme/he.md +++ b/readme/he.md @@ -79,20 +79,24 @@ התקן פעם אחת: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` הפעל בהגדרות הבנייה שלך: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` הרץ `next build` וצפה בחבילות ספרדית וצרפתית מופיעות ✨ @@ -193,7 +197,7 @@ const translated = await lingoDotDev.localizeObject(content, { ## ⭐ היסטוריית כוכבים -אם אתם אוהבים את מה שאנחנו עושים, תנו לנו ⭐ ועזרו לנו להגיע ל-5,000 כוכבים! 🌟 +אם אתם אוהבים את מה שאנחנו עושים, תנו לנו ⭐ ועזרו לנו להגיע ל-6,000 כוכבים! 🌟 [ diff --git a/readme/hi.md b/readme/hi.md index 670ba3891..87edfcb53 100644 --- a/readme/hi.md +++ b/readme/hi.md @@ -79,20 +79,24 @@ एक बार इंस्टॉल करें: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` अपने बिल्ड कॉन्फिग में सक्षम करें: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` `next build` चलाएं और स्पेनिश और फ्रेंच बंडल्स को बाहर आते देखें ✨ @@ -193,7 +197,7 @@ const translated = await lingoDotDev.localizeObject(content, { ## ⭐ स्टार इतिहास -अगर आपको हमारा काम पसंद है, तो हमें एक ⭐ दें और हमें 5,000 स्टार तक पहुंचने में मदद करें! 🌟 +यदि आपको हमारा काम पसंद आ रहा है, तो हमें एक ⭐ दें और 6,000 स्टार तक पहुंचने में हमारी मदद करें! 🌟 [ diff --git a/readme/it.md b/readme/it.md index 3f00c846e..f0a82dfa0 100644 --- a/readme/it.md +++ b/readme/it.md @@ -79,20 +79,24 @@ Installa una volta: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` Abilita nella tua configurazione di build: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` Esegui `next build` e guarda apparire i bundle in spagnolo e francese ✨ @@ -193,7 +197,7 @@ Siamo guidati dalla community e amiamo i contributi! ## ⭐ Cronologia delle stelle -Se ti piace quello che stiamo facendo, dacci una ⭐ e aiutaci a raggiungere 5.000 stelle! 🌟 +Se ti piace quello che facciamo, lasciaci una ⭐ e aiutaci a raggiungere 6.000 stelle! 🌟 [ diff --git a/readme/ja.md b/readme/ja.md index de116f811..5ab43213c 100644 --- a/readme/ja.md +++ b/readme/ja.md @@ -79,20 +79,24 @@ 一度インストールするだけ: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` ビルド設定で有効化: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` `next build` を実行すると、スペイン語とフランス語のバンドルが自動的に生成されます ✨ @@ -193,7 +197,7 @@ const translated = await lingoDotDev.localizeObject(content, { ## ⭐ スター履歴 -私たちの取り組みが気に入ったら、⭐をつけて5,000スター達成を手伝ってください! 🌟 +私たちの取り組みが気に入ったら、⭐を付けて6,000スターの達成にご協力ください!🌟 [ diff --git a/readme/ko.md b/readme/ko.md index 97f8c2081..f72037c38 100644 --- a/readme/ko.md +++ b/readme/ko.md @@ -78,20 +78,24 @@ 한 번만 설치하세요: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` 빌드 설정에서 활성화하세요: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` `next build`를 실행하고 스페인어와 프랑스어 번들이 생성되는 것을 확인하세요 ✨ @@ -192,7 +196,7 @@ const translated = await lingoDotDev.localizeObject(content, { ## ⭐ 스타 히스토리 -저희가 하는 일이 마음에 드신다면, ⭐을 주시고 5,000개 스타 달성을 도와주세요! 🌟 +저희가 하는 일이 마음에 드신다면 ⭐를 눌러주시고 6,000개의 별을 달성할 수 있도록 도와주세요! 🌟 [ diff --git a/readme/pl.md b/readme/pl.md index 2fbb44384..09ad222bb 100644 --- a/readme/pl.md +++ b/readme/pl.md @@ -79,20 +79,24 @@ Zainstaluj raz: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` Włącz w swojej konfiguracji budowania: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` Uruchom `next build` i zobacz, jak pojawiają się pakiety w języku hiszpańskim i francuskim ✨ @@ -193,7 +197,7 @@ Jesteśmy napędzani przez społeczność i uwielbiamy wkład innych! ## ⭐ Historia gwiazdek -Jeśli podoba Ci się to, co robimy, daj nam ⭐ i pomóż nam osiągnąć 5 000 gwiazdek! 🌟 +Jeśli podoba Ci się to, co robimy, daj nam ⭐ i pomóż nam osiągnąć 6 000 gwiazdek! 🌟 [ diff --git a/readme/pt-BR.md b/readme/pt-BR.md index 86318744e..8a15bf412 100644 --- a/readme/pt-BR.md +++ b/readme/pt-BR.md @@ -79,20 +79,24 @@ Instale uma vez: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` Habilite na sua configuração de build: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` Execute `next build` e veja os pacotes em espanhol e francês aparecerem ✨ @@ -193,7 +197,7 @@ Somos orientados pela comunidade e adoramos contribuições! ## ⭐ Histórico de estrelas -Se você gosta do que estamos fazendo, dê-nos uma ⭐ e ajude-nos a alcançar 5.000 estrelas! 🌟 +Se você gosta do que estamos fazendo, nos dê uma ⭐ e nos ajude a alcançar 6.000 estrelas! 🌟 [ diff --git a/readme/ru.md b/readme/ru.md index ef2c0b535..e6bafd51b 100644 --- a/readme/ru.md +++ b/readme/ru.md @@ -79,20 +79,24 @@ Установите один раз: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` Активируйте в конфигурации сборки: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` Запустите `next build` и наблюдайте, как появляются сборки на испанском и французском языках ✨ @@ -193,7 +197,7 @@ const translated = await lingoDotDev.localizeObject(content, { ## ⭐ История звёзд -Если вам нравится то, что мы делаем, поставьте нам ⭐ и помогите достичь 5,000 звёзд! 🌟 +Если тебе нравится, что мы делаем, поставь нам ⭐ и помоги добраться до 6 000 звёзд! 🌟 [ diff --git a/readme/tr.md b/readme/tr.md index a5bab583f..c2387f6b5 100644 --- a/readme/tr.md +++ b/readme/tr.md @@ -79,20 +79,24 @@ Bir kez yükleyin: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` Derleme yapılandırmanızda etkinleştirin: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` `next build` komutunu çalıştırın ve İspanyolca ve Fransızca paketlerin ortaya çıkışını izleyin ✨ @@ -193,7 +197,7 @@ Topluluk odaklıyız ve katkıları seviyoruz! ## ⭐ Yıldız Geçmişi -Yaptıklarımızı beğeniyorsanız, bize bir ⭐ verin ve 5.000 yıldıza ulaşmamıza yardımcı olun! 🌟 +Yaptıklarımızı beğendiyseniz, bize bir ⭐ verin ve 6.000 yıldıza ulaşmamıza yardımcı olun! 🌟 [ diff --git a/readme/uk-UA.md b/readme/uk-UA.md index 5c57b652b..784525b1e 100644 --- a/readme/uk-UA.md +++ b/readme/uk-UA.md @@ -79,20 +79,24 @@ Встановіть один раз: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` Увімкніть у конфігурації збірки: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` Запустіть `next build` і спостерігайте, як з'являються іспанські та французькі пакети ✨ @@ -193,7 +197,7 @@ const translated = await lingoDotDev.localizeObject(content, { ## ⭐ Історія зірок -Якщо вам подобається те, що ми робимо, поставте нам ⭐ і допоможіть нам досягти 5000 зірок! 🌟 +Якщо вам подобається те, що ми робимо, поставте нам ⭐ і допоможіть досягти 6000 зірок! 🌟 [ diff --git a/readme/ur.md b/readme/ur.md index 383b71974..b27b592ae 100644 --- a/readme/ur.md +++ b/readme/ur.md @@ -1,11 +1,18 @@

- Lingo.dev + Lingo.dev

- ⚡Lingo.dev — اوپن سورس، AI سے چلنے والا i18n ٹول کِٹ جو LLMs کے ذریعے فوری لوکلائزیشن فراہم کرتا ہے۔ + + ⚡Lingo.dev — اوپن سورس، AI سے چلنے والا i18n ٹول کِٹ جو LLMs کے ذریعے فوری + لوکلائزیشن فراہم کرتا ہے۔ +


@@ -19,71 +26,113 @@

- Release + Release - License + License - Last Commit + Last Commit - Product Hunt #1 DevTool of the Month + Product Hunt #1 DevTool of the Month - Product Hunt #1 DevTool of the Week + Product Hunt #1 DevTool of the Week - Product Hunt #2 Product of the Day + Product Hunt #2 Product of the Day - Github trending + Github trending + +

+
+ +

+ Lingo.dev Compiler • + Lingo.dev CLI • + Lingo.dev CI/CD • + Lingo.dev SDK +

+ +

+ + Release + + + License + + + Last Commit + + + Product Hunt #1 DevTool of the Month + + + Product Hunt #1 DevTool of the Week + + + Product Hunt #2 Product of the Day + + + Github trending

-
- -

- Lingo.dev Compiler • - Lingo.dev CLI • - Lingo.dev CI/CD • - Lingo.dev SDK -

- -

- - Release - - - License - - - Last Commit - - - Product Hunt #1 DevTool of the Month - - - Product Hunt #1 DevTool of the Week - - - Product Hunt #2 Product of the Day - - - Github trending - -

--- ## کمپائلر کا تعارف 🆕 -**Lingo.dev Compiler** ایک مفت، اوپن سورس کمپائلر مڈل ویئر ہے، جو کسی بھی React ایپ کو build کے وقت کثیر لسانی بنانے کے لیے ڈیزائن کیا گیا ہے — اور اس کے لیے آپ کے موجودہ React کمپونینٹس میں کسی قسم کی تبدیلی درکار نہیں۔ +```bash +npm install @lingo.dev/compiler +``` ایک مرتبہ انسٹال کریں: -```bash -npm install lingo.dev -``` +---CODE-PLACEHOLDER-681c094f641f13a112a2a2e2787--- اپنے build کنفیگ میں فعال کریں: @@ -190,18 +239,16 @@ const translated = await lingoDotDev.localizeObject(content, { ہم کمیونٹی کی طرف سے چلتے ہیں اور آپ کی شراکت کو قدر کی نگاہ سے دیکھتے ہیں! -- کوئی خیال ہے؟ [ایک مسئلہ کھولیں](https://github.com/lingodotdev/lingo.dev/issues) -- کچھ ٹھیک کرنا چاہتے ہیں؟ [ایک PR بھیجیں](https://github.com/lingodotdev/lingo.dev/pulls) -- مدد چاہیے؟ [ہماری Discord میں شامل ہوں](https://lingo.dev/go/discord) +اگر آپ کو ہمارا کام پسند ہے، تو ہمیں ⭐ دیں اور 6,000 ستاروں تک پہنچنے میں ہماری مدد کریں! 🌟 ## ⭐ اسٹار ہسٹری اگر آپ کو ہمارا کام پسند آتا ہے تو ہمیں ⭐ دیں اور ہمیں 4,000 اسٹار تک پہنچانے میں مدد کریں! 🌟 -[![Star History Chart](https://api.star-history.com/svg?repos=lingodotdev/lingo.dev&type=Date)](https://www.star-history.com/#lingodotdev/lingo.dev&Date) +[ -## 🌐 دیگر زبانوں میں ریڈمی +![Star History Chart](https://api.star-history.com/svg?repos=lingodotdev/lingo.dev&type=Date) -[English](https://github.com/lingodotdev/lingo.dev) • [中文](/readme/zh-Hans.md) • [日本語](/readme/ja.md) • [한국어](/readme/ko.md) • [Español](/readme/es.md) • [Français](/readme/fr.md) • [Русский](/readme/ru.md) • [Українська](/readme/uk-UA.md) • [Deutsch](/readme/de.md) • [Italiano](/readme/it.md) • [العربية](/readme/ar.md) • [עברית](/readme/he.md) • [हिन्दी](/readme/hi.md) • [বাংলা](/readme/bn.md) • [فارسی](/readme/fa.md) • [اردو](/readme/ur.md) +](https://www.star-history.com/#lingodotdev/lingo.dev&Date) -اپنی زبان نہیں دیکھی؟ اسے [`i18n.json`](./i18n.json) میں شامل کریں اور PR کھولیں! +## 🌐 دیگر زبانوں میں ریڈمی diff --git a/readme/zh-Hans.md b/readme/zh-Hans.md index 6982c5fb2..0468ff663 100644 --- a/readme/zh-Hans.md +++ b/readme/zh-Hans.md @@ -78,20 +78,24 @@ 一次安装: ```bash -npm install lingo.dev +npm install @lingo.dev/compiler ``` 在构建配置中启用: -```js -import lingoCompiler from "lingo.dev/compiler"; - -const existingNextConfig = {}; - -export default lingoCompiler.next({ - sourceLocale: "en", - targetLocales: ["es", "fr"], -})(existingNextConfig); +```ts +import type { NextConfig } from "next"; +import { withLingo } from "@lingo.dev/compiler/next"; + +const nextConfig: NextConfig = {}; + +export default async function (): Promise { + return await withLingo(nextConfig, { + sourceLocale: "en", + targetLocales: ["es", "fr"], + models: "lingo.dev", + }); +} ``` 运行 `next build`,即可看到西班牙语和法语的构建包 ✨ @@ -192,7 +196,7 @@ const translated = await lingoDotDev.localizeObject(content, { ## ⭐ Star 历史 -如果你喜欢我们的工作,请给我们一个 ⭐,帮助我们达到 5,000 个星标!🌟 +如果你喜欢我们的项目,请为我们点个⭐,帮助我们达到6,000颗星!🌟 [