TypeScript localization
TypeScript is Microsoft’s typed superset of JavaScript, catching errors at compile time instead of runtime. It has no native i18n features, but it does something valuable for localization: typed translation keys and parameters mean a missing or misshapen string fails the build, not the user. Translate your TypeScript project’s translation files with Localazy and keep those guarantees intact across every language.
How Localazy works with TypeScript
Upload your JSON or TS translation files through the Localazy CLI, translate on the platform, and download files that preserve the exact structure your type definitions expect. No TypeScript configuration changes needed.
- JSON and nested JSON - hierarchical structures matching your TypeScript interface definitions supported.
- Key hierarchy preserved - nested object shapes that your type definitions reference stay identical in every language.
- Type-compatible output - downloaded files conform to the source structure, so type inference keeps working.
- CI/CD automation - run
localazy uploadandlocalazy downloadfrom GitHub, GitLab, or Bitbucket pipelines.
Helpful Localazy features for TypeScript translation
Plurals and arrays done properly
JSON itself has no plural rules. Localazy adds CLDR-compliant handling on top. Upload English with two plural forms, and Localazy generates Czech with three and Arabic with six, each presented to translators as separate fields.
Placeholder validation
Variables like {count} or %s inside values are detected and protected, so machine translation or a hurried translator can’t break anything.
AI-driven translation
with human control
Localazy CLI: Automated localization for your project
Looking for more integrations?
Localazy supports all i18n file formats and frameworks. You can upload your files using the CLI, connect via API, integrate your CMS, localize your Figma designs, and more.
Explore all integrations of Localazy and build your localization workflow.