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.
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.
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.
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.
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:
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:
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.
Localazy CLI delivers advanced capabilities that go beyond basic translation management:
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.
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.
Localazy CLI supports an extensive range of file formats commonly used in software development:
Each format support includes advanced features like:
Most formats also support custom features that can be enabled via configuration flags.
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.
Localazy CLI provides several methods for importing 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.
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.
As a developer, connecting to your Localazy project via Localazy CLI requires you to provide your unique readKey
and writeKey
to 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
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.
"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."
"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."
"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."
"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."
"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."