⌨️

i18n & l10n CLI

The most advanced command-line interface for i18n and seamless translation management for developers. Automate the flow of data between your project and Localazy with two simple commands.

Automated software localization with CLI ⚙️

Watch the video and see how Localazy CLI streamlines automated localization and software translation management.

Designed for development teams, Localazy CLI provides advanced i18n automation capabilities to manage translations across your entire pipeline.

Why developers love Localazy CLI 💖

Why developers love Localazy CLI 💖

Localazy is built with developer experience in mind. Where other translation management systems focus on basic file operations, Localazy CLI brings additional automation tools to your development workflows, including format conversions, branching, and dynamic configurations.

Use Localazy as you wish. Integrate with anything & align it to your current CI/CD workflows.

💾 @localazy/cli

💾 @localazy/cli

Get the Localazy CLI now. Efficiently upload and download your localizable files from the Localazy translation management platform. 

npm i @localazy/cli

Configure your localazy.json and get started in minutes.

Frequently Asked Questions

Localization automation is, at its core, the process of making the localization process faster and more agile by automating specific tasks (i.e., string management and translation, format conversions, delivery of localized files etc.) that otherwise would consume a lot of time to complete.

Localazy is here to help product teams and single developers automate the localization of their projects.

You might be interested in:

Last updated: 26/02/2025

Localazy will streamline your localization process, serve as a source of truth for your translations, and facilitate collaboration with your team and translators.

The main benefits of Localazy for product managers include:

  • Less back and forth between team member tasks
  • Simply defined process, clear visibility of the progress, and the definition of done
  • Automated distribution and change management
  • Less time spent on managing translators

Localazy offers over 50 integration options, including native plugins for Figma, Strapi & Zapier. You can also integrate your product with Localazy via API, CLI, and mobile SDKs for Android and iOS.

You can use Localazy to offload the translation work from your team completely. Thanks to the built-in Continuous Localization services, you can get your project translated by professionals and don’t have to worry about any task handling.

Learn how proactive professional translation services by Localazy work.

Last updated: 15/09/2022

Localazy CLI delivers advanced capabilities that go beyond basic translation management:

  • Format conversion and type remapping let you migrate between file formats or maintain different output formats without writing custom scripts
  • Full branching support with conflict resolution helps you maintain translations across feature branches, white-label variants, and product versions
  • Dynamic configuration with runtime variables enables flexible workflows across different environments and build configurations
  • Built-in validation prevents localization issues from reaching production by catching missing translations, invalid formats, and plural form mismatches
  • Advanced plural form handling automatically manages complex language rules without requiring custom handling code
  • Incremental updates and CDN integration ensure efficient delivery of translations at scale
  • Integration with CI/CD platforms like GitHub, GitLab or Bitbucket lets you automate localization as part of your existing workflow
  • Simulation mode helps you validate changes before execution

Whether you’re working on a small app or a complex enterprise system, Localazy CLI provides the tools you need to handle localization efficiently while maintaining code quality.

Last updated: 04/02/2025

Localazy CLI is a robust command-line interface tool designed for handling software localization workflows. It serves as a bridge between your development environment and Localazy’s translation platform.

The CLI handles both uploading source files for translation and downloading completed translations back into your project structure. It supports complex localization scenarios like plurals, string arrays, and nested key structures.

Beyond basic file operations, it provides features for versioning (through Release Tags), project branching, and format conversions. The CLI integrates with CI/CD pipelines and can be automated as part of your build process, making it particularly valuable for teams practicing continuous deployment.

Last updated: 04/02/2025

Localazy CLI supports an extensive range of file formats commonly used in software development:

  • Mobile: Android XML, iOS strings/stringsdict, Flutter ARB
  • Web: JSON, YAML, JavaScript, PHP
  • Desktop: Qt TS, RESX, Java Properties
  • Generic: XLIFF, PO/POT, CSV, Excel, OpenOffice
  • Documentation: Plain text, Markdown

Each format support includes advanced features like:

  • Plural form handling appropriate to the format
  • Array support where applicable
  • Structured data preservation
  • Format-specific metadata handling

Most formats also support custom features that can be enabled via configuration flags.

Last updated: 04/02/2025

The configuration process centers around the localazy.json file in your project root.

An example configuration includes:

{
    "writeKey": "your-write-key",
    "readKey": "your-read-key",
    "upload": {
        "type": "json",
        "files": {
            "pattern": "src/**/locales/*.json",
            "path": "${path}",
            "file": "${file}"
        }
    },
    "download": {
        "files": "src/locales/${lang}/${file}"
    }
}

The configuration supports variables, conditions, transformations, and format-specific features. You can also include group definitions for organizing different sets of files and rules for handling special cases.

Last updated: 26/02/2025

Localazy CLI provides several methods for importing existing translations:

  • Use autodetectLang variable to automatically detect language from file paths/names
  • Explicitly specify languages in your configuration
  • Use groups to separate source language uploads from existing translations

Basic configuration can look like this:

{
    "upload": {
        "files": [
            {
                "pattern": "src/locales/en/*.json",
                "lang": "inherited"
            },
            {
                "group": "existing",
                "pattern": "src/locales/*/*.json",
                "excludes": ["src/locales/en/*.json"],
                "lang": "${autodetectLang}"
            }
        ]
    }
}

This setup lets you run localazy upload for regular source updates and localazy upload existing for one-time import of existing translations.

Last updated: 04/02/2025

Yes, absolutely. You can have multiple files in different folders uploaded to the same project.

You can include files by their exact path or by using standard path wildcards ? (single character), * (anything except path separator), ** (anything including path separators).

You can control files you want to upload with exclusion rules and conditions.

Example:

"upload": {
    "type": "json",
    "files": "modules/**/en.json"
  }
 
}

The above configuration will scan for files named en.json in all subfolders of the modules folder.

Last updated: 26/02/2025

As a developer, connecting to your Localazy project via Localazy CLI requires you to provide your unique readKey and writeKeyto authorize upload and download operations.

You need to have the Owner role in the project to access your unique access keys. Then, navigate to the project and open the left menu to find Settings ->Access Keys

Learn more in the Localazy CLI: Authorization

Last updated: 14/07/2023

The Localazy CLI is a powerful tool designed to automate the process of uploading and downloading translation files in almost any project. If you encounter any issues or questions that are not addressed in the documentation, there’s no need to worry as we’re happy to help you to overcome these challenges.

Simply reach out to us through our chat, and we’ll make every effort to assist you promptly. Alternatively, you can send an email to [email protected], providing your configuration details and a clear description of your goal. We will respond as quickly as possible to ensure your seamless experience with Localazy.

Last updated: 04/02/2025
🏁 Ready to try i18n & l10n CLI in your project?

Start your 14-day trial now to see Localazy in action! 👀

Sign up now

A friendly environment for our translation team

"As a dashboard engineering manager, I use Localazy to create a friendly environment for me and my translation team. If I have to recommend a tool to handle translations, I will talk about Localazy for sure!"

User avatar
Alexandre Philibeaux Engineering Manager
Company logo
Learn more

Well designed tool with many features!

"We operate multiple complex websites with many languages. Before we switched to Localazy, managing and keeping all dictionaries up-to-date was pure hell. We can now easily review, manage, and keep all dictionaries up-to-date whenever we add or modify any functionality."

User avatar
Filip Kotora CTO RAILVIS
Company logo

Very powerful translation system with affordable cost!

"We looked for a solution that can cover several use cases across our project, and Localazy is a clear winner. Thanks to CLI tools, git and branching, and features, we could integrate Localazy with GitHub Actions for automated documentation translation delivery."

User avatar
Yuriy Andamasov CEO VyOS Inc
Company logo

Localazy greatly simplified the translation flow!

"We would recommend Localazy very much, especially for businesses with their own translation teams. It greatly simplified the translation flow."

User avatar
Adéla Flejšarová IT Project Manager at Mixit
Company logo
learn more

Localazy helped us streamline the localization process for 27 languages!

"Localazy has significantly streamlined our localization process, making it more efficient and organized. The ease of collaboration and the clear tracking of translation progress have been instrumental in improving our workflow."

User avatar
Manuel Radenkovic Managing Director of Behires Services GmbH
Company logo
learn more

Very easy to use

"The ease of use is splendid. Localazy's UI is simple, clean, and intuitive, and the price/performance ratio is unbeatable. It's an easy-to-use-and-set-up localization tool with E2E capabilities."

User avatar
Martin Uher CTO at Investown.cz
Company logo
learn more

Our developers love the set-and-forget philosophy of Localazy!

"Localazy is a really user-friendly platform. We enjoy combining our in-house people, automated professional translations, and crowdsourcing the translations from the community in one project without too much management needed to make everything work."

User avatar
Lukáš Tóth Product Manager at Rouvy
Company logo
learn more

Good pricing, good UI and ultimately does its job

"I'd recommend Localazy to other peers in my industry. It offers good pricing, has a good UI and ultimately does its job. Being able to find missing translations and easily use machine translations is very smart."

User avatar
Lasse Melbye CTO & Co-Founder at Customers 1st
Company logo
learn more

The customer care is awesome!

"Adding Localazy to our workflow was really easy. We appreciate the simplicity, as well as the ability to use keyboard shortcuts to speed things up. And the customer care is awesome, which we love."

User avatar
Mário Roženský CEO of SupportBox
Company logo
learn more

Works like a charm!

"Localazy helped us improve our translation workflow significantly. The UI is super easy to use, the toolset is awesome, and the integration into Laravel works like a charm!"

User avatar
David Jardin Founder of djumla
Company logo
learn more

Makes localization much easier

"If you don't want to manage the pain of translation keys, files, and flows, you certainly need to consider Localazy. You'll be able focus on your product and not on locale configurations."

User avatar
Agustin Cavilliotti Founder of Donar Online
Company logo
learn more

Super easy to manage

"Once implementation is completed, Localazy is a really easy platform to adopt and function with."

User avatar
Nicolas Manfredini CEO & Founder of Winalist
Company logo
learn more

A godsend for our developers

"Localazy streamlined our translation workflow and made our developers' lives easier. Now they can focus on developing rather than keeping track of translations."

User avatar
Anton Bremer Co-founder of Dawn Patrol
Company logo
learn more
Convinced? Let's get started!

🚀 Try i18n & l10n CLI with your actual content. 🗒️

Try it now