-
Notifications
You must be signed in to change notification settings - Fork 668
Add Indian Regional Language Support to Lingo.dev #1491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Srujanrana07
wants to merge
3
commits into
lingodotdev:main
Choose a base branch
from
Srujanrana07:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,175 @@ | ||
| <p align="center"> | ||
| <a href="https://lingo.dev"> | ||
| <img src="https://raw.githubusercontent.com/lingodotdev/lingo.dev/main/content/banner.compiler.png" width="100%" alt="Lingo.dev" /> | ||
| </a> | ||
| </p> | ||
|
|
||
| <p align="center"> | ||
| <strong>⚡ Lingo.dev - মুক্ত উৎস (open-source) AI-চালিত i18n toolkit যাৰ সহায়ত LLMs ব্যৱহাৰ কৰি তৎক্ষণাৎ স্থানীয়কৰণ (localization)।</strong> | ||
| </p> | ||
|
|
||
| <br /> | ||
|
|
||
| <p align="center"> | ||
| <a href="https://lingo.dev/compiler">Lingo.dev Compiler</a> • | ||
| <a href="https://lingo.dev/cli">Lingo.dev CLI</a> • | ||
| <a href="https://lingo.dev/ci">Lingo.dev CI/CD</a> • | ||
| <a href="https://lingo.dev/sdk">Lingo.dev SDK</a> | ||
| </p> | ||
|
|
||
| <p align="center"> | ||
| <a href="https://github.com/lingodotdev/lingo.dev/actions/workflows/release.yml"> | ||
| <img src="https://github.com/lingodotdev/lingo.dev/actions/workflows/release.yml/badge.svg" alt="Release" /> | ||
| </a> | ||
| <a href="https://github.com/lingodotdev/lingo.dev/blob/main/LICENSE.md"> | ||
| <img src="https://img.shields.io/github/license/lingodotdev/lingo.dev" alt="License" /> | ||
| </a> | ||
| <a href="https://github.com/lingodotdev/lingo.dev/commits/main"> | ||
| <img src="https://img.shields.io/github/last-commit/lingodotdev/lingo.dev" alt="Last Commit" /> | ||
| </a> | ||
| <a href="https://lingo.dev/en"> | ||
| <img src="https://img.shields.io/badge/Product%20Hunt-%231%20DevTool%20of%20the%20Month-orange?logo=producthunt&style=flat-square" alt="Product Hunt #1 DevTool of the Month" /> | ||
| </a> | ||
| <a href="https://lingo.dev/en"> | ||
| <img src="https://img.shields.io/badge/Product%20Hunt-%231%20Product%20of%20the%20Week-orange?logo=producthunt&style=flat-square" alt="Product Hunt #1 Product of the Week" /> | ||
| </a> | ||
| <a href="https://lingo.dev/en"> | ||
| <img src="https://img.shields.io/badge/Product%20Hunt-%232%20Product%20of%20the%20Day-orange?logo=producthunt&style=flat-square" alt="Product Hunt #2 Product of the Day" /> | ||
| </a> | ||
| <a href="https://lingo.dev/en"> | ||
| <img src="https://img.shields.io/badge/GitHub-Trending-blue?logo=github&style=flat-square" alt="Github trending" /> | ||
| </a> | ||
| </p> | ||
|
|
||
| --- | ||
|
|
||
| ## Compiler পৰিচয় 🆕 | ||
|
|
||
| **Lingo.dev Compiler** এটা বিনামূলীয়া, মুক্ত উৎস compiler middleware — যিয়ে যিকোনো React app-লৈ build সময়ত বহু-ভাষা সমৰ্থন যোগায়, কোডত কোনো সলনি নকৰাকৈ। | ||
|
|
||
| ইনস্টল কৰক: | ||
|
|
||
| ```bash | ||
| npm install lingo.dev | ||
| ``` | ||
|
|
||
| Build config-ত সক্ষম কৰক: | ||
|
|
||
| ```js | ||
| import lingoCompiler from "lingo.dev/compiler"; | ||
|
|
||
| const existingNextConfig = {}; | ||
|
|
||
| export default lingoCompiler.next({ | ||
| sourceLocale: "en", | ||
| targetLocales: ["es", "fr"], | ||
| })(existingNextConfig); | ||
| ``` | ||
|
|
||
| `next build` চলাওক আৰু দেখক — স্পেনিছ আৰু ফ্ৰেঞ্চ bundle স্বয়ংক্ৰিয়ভাৱে নিৰ্মাণ হৈ গ'ল ✨ | ||
|
|
||
| [দস্তাবেজ পঢ়ক →](https://lingo.dev/compiler) সম্পূৰ্ণ নিৰ্দেশাবলী পঢ়িবলৈ, আৰু [আমাৰ Discord-ত যোগদান কৰক](https://lingo.dev/go/discord) সহায়ৰ বাবে। | ||
|
|
||
| --- | ||
|
|
||
| ### এই ৰেপ’জিটৰিত কি আছে? | ||
|
|
||
| | টুল | সংক্ষিপ্ত বিৱৰণ | দস্তাবেজ | | ||
| | ---- | ---------------- | ---------- | | ||
| | **Compiler** | Build সময়ত React localize কৰে | [/compiler](https://lingo.dev/compiler) | | ||
| | **CLI** | এক-আদেশত web/mobile, JSON, YAML, markdown অনুবাদ | [/cli](https://lingo.dev/cli) | | ||
| | **CI/CD** | Translation স্বয়ংক্ৰিয় commit আৰু pull request | [/ci](https://lingo.dev/ci) | | ||
| | **SDK** | সময়-বাস্তৱ translation (real-time translation) | [/sdk](https://lingo.dev/sdk) | | ||
|
|
||
| তলত প্ৰতিটো টুলৰ সংক্ষিপ্ত বিৱৰণ দিয়া হৈছে 👇 | ||
|
|
||
| --- | ||
|
|
||
| ### ⚡️ Lingo.dev CLI | ||
|
|
||
| আপোনাৰ টাৰ্মিনেলৰ পৰা সোজাকৈ কোড আৰু কন্টেণ্ট অনুবাদ কৰক। | ||
|
|
||
| ```bash | ||
| npx lingo.dev@latest run | ||
| ``` | ||
|
|
||
| ই প্ৰতিটো string fingerprint কৰে, ফলাফল cache ৰাখে, আৰু কেৱল সলনি হোৱা অংশসমূহ পুনঃ-অনুবাদ কৰে। | ||
|
|
||
| [দস্তাবেজ পঢ়ক →](https://lingo.dev/cli) স্থাপন পদ্ধতি জানিবলৈ। | ||
|
|
||
| --- | ||
|
|
||
| ### 🔄 Lingo.dev CI/CD | ||
|
|
||
| স্বয়ংক্ৰিয়ভাৱে নিখুঁত translation প্ৰেৰণ কৰক। | ||
|
|
||
| ```yaml | ||
| # .github/workflows/i18n.yml | ||
| name: Lingo.dev i18n | ||
| on: [push] | ||
|
|
||
| jobs: | ||
| i18n: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: lingodotdev/lingo.dev@main | ||
| with: | ||
| api-key: ${{ secrets.LINGODOTDEV_API_KEY }} | ||
| ``` | ||
|
|
||
| ই আপোনাৰ ৰেপ’জিটৰীক সদায় আপডেট ৰাখে আৰু আপোনাৰ প্ৰডাক্টক multilingual কৰি তোলে। | ||
|
|
||
| [দস্তাবেজ পঢ়ক →](https://lingo.dev/ci) | ||
|
|
||
| --- | ||
|
|
||
| ### 🧩 Lingo.dev SDK | ||
|
|
||
| Dynamic content-ৰ বাবে সময়-বাস্তৱ অনুবাদ। | ||
|
|
||
| ```ts | ||
| import { LingoDotDevEngine } from "lingo.dev/sdk"; | ||
|
|
||
| const lingoDotDev = new LingoDotDevEngine({ | ||
| apiKey: "your-api-key-here", | ||
| }); | ||
|
|
||
| const content = { | ||
| greeting: "Hello", | ||
| farewell: "Goodbye", | ||
| message: "Welcome to our platform", | ||
| }; | ||
|
|
||
| const translated = await lingoDotDev.localizeObject(content, { | ||
| sourceLocale: "en", | ||
| targetLocale: "es", | ||
| }); | ||
| // ফলাফল: { greeting: "Hola", farewell: "Adiós", message: "Bienvenido a nuestra plataforma" } | ||
| ``` | ||
|
|
||
| চেট, ব্যৱহাৰকাৰী মন্তব্য, বা অন্যান্য real-time flows-ৰ বাবে উপযুক্ত। | ||
|
|
||
| [দস্তাবেজ পঢ়ক →](https://lingo.dev/sdk) | ||
|
|
||
| --- | ||
|
|
||
| ## 🤝 সম্প্ৰদায় | ||
|
|
||
| আমাৰ প্ৰকল্প সম্প্ৰদায়-ভিত্তিক, আৰু আপোনাৰ অৱদানক স্বাগতম! | ||
|
|
||
| - নতুন চিন্তা আছে? [Issue খুলক](https://github.com/lingodotdev/lingo.dev/issues) | ||
| - কিছু সংশোধন কৰিব বিচাৰে? [PR পঠাওক](https://github.com/lingodotdev/lingo.dev/pulls) | ||
| - সহায়ৰ প্ৰয়োজন? [আমাৰ Discord-ত যোগদান কৰক](https://lingo.dev/go/discord) | ||
|
|
||
| ## ⭐ Star History | ||
|
|
||
| যদি আপোনালোকক আমাৰ কাম ভাল লাগে, এটা ⭐ দিয়ক আৰু আমাক ৪,০০০ স্টাৰলৈ সহায় কৰক! 🌟 | ||
|
|
||
| [](https://www.star-history.com/#lingodotdev/lingo.dev&Date) | ||
|
|
||
| ## 🌐 আন ভাষাত Readme | ||
|
|
||
| [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/as.md)** | ||
|
|
||
| আপোনাৰ ভাষাটো তালিকাত নাই নেকি? [`i18n.json`](./i18n.json)-ত যোগ কৰক আৰু PR পঠাওক! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,180 @@ | ||
|
|
||
| <p align="center"> | ||
| <a href="https://lingo.dev"> | ||
| <img src="https://raw.githubusercontent.com/lingodotdev/lingo.dev/main/content/banner.compiler.png" width="100%" alt="Lingo.dev" /> | ||
| </a> | ||
| </p> | ||
|
|
||
| <p align="center"> | ||
| <strong>⚡ Lingo.dev - ખુલ્લા સ્ત્રોત, AI આધારિત i18n ટૂલકિટ જે LLMs દ્વારા તરત જ લોકલાઇઝેશન કરે છે.</strong> | ||
| </p> | ||
|
|
||
| <br /> | ||
|
|
||
| <p align="center"> | ||
| <a href="https://lingo.dev/compiler">Lingo.dev Compiler</a> • | ||
| <a href="https://lingo.dev/cli">Lingo.dev CLI</a> • | ||
| <a href="https://lingo.dev/ci">Lingo.dev CI/CD</a> • | ||
| <a href="https://lingo.dev/sdk">Lingo.dev SDK</a> | ||
| </p> | ||
|
|
||
| <p align="center"> | ||
| <a href="https://github.com/lingodotdev/lingo.dev/actions/workflows/release.yml"> | ||
| <img src="https://github.com/lingodotdev/lingo.dev/actions/workflows/release.yml/badge.svg" alt="Release" /> | ||
| </a> | ||
| <a href="https://github.com/lingodotdev/lingo.dev/blob/main/LICENSE.md"> | ||
| <img src="https://img.shields.io/github/license/lingodotdev/lingo.dev" alt="License" /> | ||
| </a> | ||
| <a href="https://github.com/lingodotdev/lingo.dev/commits/main"> | ||
| <img src="https://img.shields.io/github/last-commit/lingodotdev/lingo.dev" alt="Last Commit" /> | ||
| </a> | ||
| <a href="https://lingo.dev/en"> | ||
| <img src="https://img.shields.io/badge/Product%20Hunt-%231%20DevTool%20of%20the%20Month-orange?logo=producthunt&style=flat-square" alt="Product Hunt #1 DevTool of the Month" /> | ||
| </a> | ||
| <a href="https://lingo.dev/en"> | ||
| <img src="https://img.shields.io/badge/Product%20Hunt-%231%20Product%20of%20the%20Week-orange?logo=producthunt&style=flat-square" alt="Product Hunt #1 DevTool of the Week" /> | ||
| </a> | ||
| <a href="https://lingo.dev/en"> | ||
| <img src="https://img.shields.io/badge/Product%20Hunt-%232%20Product%20of%20the%20Day-orange?logo=producthunt&style=flat-square" alt="Product Hunt #2 Product of the Day" /> | ||
| </a> | ||
| <a href="https://lingo.dev/en"> | ||
| <img src="https://img.shields.io/badge/GitHub-Trending-blue?logo=github&style=flat-square" alt="Github trending" /> | ||
| </a> | ||
| </p> | ||
|
|
||
| --- | ||
|
|
||
| ## Compiler સાથે મળો 🆕 | ||
|
|
||
| **Lingo.dev Compiler** એક મુક્ત, ખુલ્લા સ્ત્રોતનું કમ્પાઇલર મિડલવેર છે, જે કોઈપણ React એપ્લિકેશનને બિલ્ડ સમયે બહુભાષી બનાવે છે — તે પણ હાલના React કોમ્પોનેન્ટમાં કોઈ ફેરફાર કર્યા વિના. | ||
|
|
||
| એક વાર ઇન્સ્ટોલ કરો: | ||
|
|
||
| ```bash | ||
| npm install lingo.dev | ||
| ``` | ||
|
|
||
| તમારા બિલ્ડ કન્ફિગમાં સક્ષમ કરો: | ||
|
|
||
| ```js | ||
| import lingoCompiler from "lingo.dev/compiler"; | ||
|
|
||
| const existingNextConfig = {}; | ||
|
|
||
| export default lingoCompiler.next({ | ||
| sourceLocale: "en", | ||
| targetLocales: ["es", "fr"], | ||
| })(existingNextConfig); | ||
| ``` | ||
|
|
||
| હવે `next build` ચલાવો અને જુઓ — Spanish અને French બંડલ તૈયાર ✨ | ||
|
|
||
| પૂર્ણ માર્ગદર્શિકા માટે [દસ્તાવેજો વાંચો →](https://lingo.dev/compiler) | ||
| અને તમારી મદદ માટે [અમારા Discord જોડાઓ](https://lingo.dev/go/discord). | ||
|
|
||
| --- | ||
|
|
||
| ### આ રિપોઝિટરીમાં શું છે? | ||
|
|
||
| | સાધન (Tool) | ટૂંકમાં (TL;DR) | દસ્તાવેજો | | ||
| | ------------ | ------------------------------- | ------------------------------ | | ||
| | **Compiler** | બિલ્ડ-સમયે React લોકલાઇઝેશન | [/compiler](https://lingo.dev/compiler) | | ||
| | **CLI** | વેબ અને મોબાઇલ એપ્સ માટે એક જ કમાન્ડમાં અનુવાદ | [/cli](https://lingo.dev/cli) | | ||
| | **CI/CD** | દરેક પુશ પર સ્વયં અનુવાદ કમિટ અને PR બનાવે | [/ci](https://lingo.dev/ci) | | ||
| | **SDK** | રીઅલટાઇમ અનુવાદ (યૂઝર જનરેટેડ કન્ટેન્ટ માટે) | [/sdk](https://lingo.dev/sdk) | | ||
|
|
||
| ચાલો દરેકને વિગતવાર જોઈએ 👇 | ||
|
|
||
| --- | ||
|
|
||
| ### ⚡️ Lingo.dev CLI | ||
|
|
||
| તમારા ટર્મિનલ પરથી જ કોડ અને કન્ટેન્ટ અનુવાદ કરો. | ||
|
|
||
| ```bash | ||
| npx lingo.dev@latest run | ||
| ``` | ||
|
|
||
| તે દરેક સ્ટ્રિંગને ફિંગરપ્રિન્ટ કરે છે, પરિણામ કૅશ કરે છે, અને ફક્ત બદલાયેલા ભાગોને ફરી અનુવાદ કરે છે. | ||
|
|
||
| તે સેટઅપ કરવાના માટે [દસ્તાવેજો અનુસરો →](https://lingo.dev/cli) | ||
|
|
||
| --- | ||
|
|
||
| ### 🔄 Lingo.dev CI/CD | ||
|
|
||
| સ્વચાલિત રીતે પરિપૂર્ણ અનુવાદ મોકલો. | ||
|
|
||
| ```yaml | ||
| # .github/workflows/i18n.yml | ||
| name: Lingo.dev i18n | ||
| on: [push] | ||
|
|
||
| jobs: | ||
| i18n: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: lingodotdev/lingo.dev@main | ||
| with: | ||
| api-key: ${{ secrets.LINGODOTDEV_API_KEY }} | ||
| ``` | ||
|
|
||
| તમારું રિપો હંમેશા હરિયાળું રાખે 🌿 | ||
| અને પ્રોડક્ટને બહુમુખી બનાવે — માનવીય હસ્તક્ષેપ વિના۔ | ||
Srujanrana07 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| [દસ્તાવેજો વાંચો →](https://lingo.dev/ci) | ||
|
|
||
| --- | ||
|
|
||
| ### 🧩 Lingo.dev SDK | ||
|
|
||
| ડાયનામિક કન્ટેન્ટ માટે તરત જ અનુવાદ મેળવો. | ||
|
|
||
| ```ts | ||
| import { LingoDotDevEngine } from "lingo.dev/sdk"; | ||
|
|
||
| const lingoDotDev = new LingoDotDevEngine({ | ||
| apiKey: "your-api-key-here", | ||
| }); | ||
|
|
||
| const content = { | ||
| greeting: "Hello", | ||
| farewell: "Goodbye", | ||
| message: "Welcome to our platform", | ||
| }; | ||
|
|
||
| const translated = await lingoDotDev.localizeObject(content, { | ||
| sourceLocale: "en", | ||
| targetLocale: "es", | ||
| }); | ||
| // પરિણામ: { greeting: "Hola", farewell: "Adiós", message: "Bienvenido a nuestra plataforma" } | ||
| ``` | ||
|
|
||
| ચેટ, યુઝર ટિપ્પણીઓ અને રિયલટાઇમ પ્રવાહ માટે આદર્શ. | ||
|
|
||
| [દસ્તાવેજો વાંચો →](https://lingo.dev/sdk) | ||
|
|
||
| --- | ||
|
|
||
| ## 🤝 સમુદાય (Community) | ||
|
|
||
| અમે સમુદાય દ્વારા સંચાલિત છીએ અને યોગદાનને આવકારીએ છીએ! | ||
|
|
||
| - કોઈ વિચાર છે? [Issue ખોલો](https://github.com/lingodotdev/lingo.dev/issues) | ||
| - કંઈ સુધારવું છે? [PR મોકલો](https://github.com/lingodotdev/lingo.dev/pulls) | ||
| - મદદ જોઈએ? [Discord જોડાઓ](https://lingo.dev/go/discord) | ||
|
|
||
| ## ⭐ સ્ટાર ઇતિહાસ | ||
|
|
||
| જો તમને અમારું કાર્ય ગમે છે, તો અમને ⭐ આપો અને અમને 4,000 સ્ટાર સુધી પહોંચવામાં મદદ કરો! 🌟 | ||
|
|
||
| [](https://www.star-history.com/#lingodotdev/lingo.dev&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/gu.md)** | ||
|
|
||
| તમારી ભાષા નથી દેખાતી? [`i18n.json`](./i18n.json) માં ઉમેરો અને PR ખોલો! | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The root
i18n.jsonfile in the repository should also be updated with these new language codes. Currently, onlypackages/cli/i18n.jsonhas been updated, but the root configuration file (which controls the README translations using themdxbucket pattern) needs to include these languages as well for the system to properly recognize and process the new language files.