<p align="center">
  <img src="https://github.com/midday-ai/languine/blob/main/apps/web/src/app/%5Blocale%5D/opengraph-image.png" />
</p>

<p align="center">
  Translate your application with Languine CLI powered by AI.
</p>

---

```bash
$ npx languine@latest
```

## What is Languine?

Languine helps developers to focus on building features, not wrestling with
localization challenges. With its robust tooling and AI capabilities, it
transforms what was once a tedious, manual process into an automated,
developer-friendly experience.

## Why use Languine?

- **AI-Powered Translations**: Generate accurate and context-aware translations
  across 100+ languages in seconds
- **Automation-First Approach**: Automatically update, add, or remove
  translations based on changes detected via Git diff
- **Consistent Localization**: Maintain uniform tone and style across all
  translated content
- **Developer-Centric Design**: Built with TypeScript, it integrates natively
  with version control systems and your preferred workflow
- **Time-Saving Workflows**: Organize, preview, and manage translation files
  directly from the command line

## What can it do?

### 🔍 Smart Detection

- Automatically identifies new, modified, or removed translation keys in your
  codebase using Git diff
- Handles multiple file formats (.json, .ts, .md, .yaml, .po, .strings, .stringsdict, .xcstrings) with precise parsing and
  file-specific updates

### 🌍 AI-Powered Translation

- Leverages modern AI models to deliver contextually accurate translations
- Supports more than 100 languages with natural and consistent results
- Ensures that translations align with the tone and intent of your original text

### 🔑 Extract Translations

- Extract translations keys from your codebase and save them to your source
  language file

### 🪝 Hooks

- Supports hooks to format the content with Biome or Prettier

## Made with 🤍 from Midday

Languine was made from the implementation in [Midday](https://midday.ai), we
have now extracted it into a standalone CLI tool.

Midday is a all in one tool for invoicing, Time tracking, File reconciliation,
Storage, Financial Overview & your own Assistant made for Freelancers


## License

This project is licensed under the **[AGPL-3.0](https://opensource.org/licenses/AGPL-3.0)** for non-commercial use. 

### Commercial Use

For commercial use or deployments requiring a setup fee, please contact us
for a commercial license at [engineer@languine.ai](mailto:engineer@languine.ai).

By using this software, you agree to the terms of the license.