Skip to content

lang-source-cli is an AI-powered tool that simplifies multilingual support by automating i18n, designed to enhance efficiency in globalized development projects.

License

Notifications You must be signed in to change notification settings

lang-source/lang-source-cli

Repository files navigation

lang-source-cli Logo

lang-source-cli

AI-Powered Internationalization Made Simple

Transform your development process with automated, accurate translations for your applications

License npm version npm downloads


✨ Features

  • 🤖 AI-powered translation engine
  • 🚀 Simple command-line interface
  • 🔄 Bulk translation processing
  • ⚡ Fast and efficient processing
  • 🔍 Intelligent context preservation

🚀 Installation

Install lang-source-cli globally with npm:

npm install -g lang-source-cli
# or
sudo npm install -g lang-source-cli  # incase sudo privileges are required 

🛠️ Usage

Generate Translations

Start the translation process with a simple command:

langsource generate  # Full command
# or
langsource g        # Short version

Important: File names should be two characters long (e.g., en.json)

Interactive Workflow

Option Selection

🌐 Supported Languages

Language Code Status
English en
Japanese ja
Korean ko
Russian ru
Portuguese pt
Arabic ar
German de
French fr
Spanish es
Italian it
Chinese zh
Urdu ur

💡 Need more languages? Request a language

💻 Development

Prerequisites

  • Node.js >= 14.0.0
  • npm >= 7.0.0

Local Setup

1️⃣ Clone the repository

git clone https://github.com/lang-source/lang-source-cli.git
cd lang-source-cli

2️⃣ Install dependencies

npm install

3️⃣ Build and run

npm run build
npm run start

4️⃣ Local CLI installation

npm install -g .

🤝 Contributing

We love your input! Check out our Contributing Guidelines to get started.

Ways to contribute:

  • 🐛 Report bugs
  • 💡 Propose new features
  • 📖 Improve documentation
  • 💻 Submit pull requests

📄 License

Copyright © 2025 lang-source-cli

Released under the MIT License.

💪 Support

Need help? We've got you covered!