Android localization with Localazy
Android manages string resources through XML files in locale-specific directories (values/, values-de/, values-fr/) and loads the right strings based on device locale. Localazy automates Android app translation so the files manage themselves and the translation process is handled without involving developers every time there is an update needed.
How Localazy integration works with Android
There are two ways to connect your Android app to a Localazy project. Choose the Gradle plugin integration to enable OTA updates, or Localazy CLI for a more flexible way to manage your strings and better multiplatform development.
Gradle plugin: translations as part of every build
The Localazy Gradle plugin (Android SDK) hooks directly into the Android build process. Add it to your build script, configure your project keys once, and translation sync becomes part of compilation itself.
- Build-time injection - every build fetches the latest approved translations during Android’s resource merging phase and injects them into your app’s resources.
- Nothing committed to Git - translation files stay out of your repository, so merges stay clean and outdated strings never slip into production.
- Zero workflow change - your source
strings.xmlstays the single file you edit; everything else is handled at build time.
Localazy CLI: file sync under your control
The Localazy CLI works at file level and allows more flexibility and control over the process.
- Full Android XML support - strings, string arrays, plurals, and formatted strings handled per specification, with XML comments carried over as translator context.
- Two commands -
localazy uploadpushes your sourcestrings.xml,localazy downloadwrites translated files back into the correctvalues-xxfolders. - CI/CD ready - run
localazy uploadandlocalazy downloadfrom GitHub, GitLab, or Bitbucket pipelines.
Helpful Localazy features for Android translation
Over-the-air updates
The OTA updates enabled by Android SDK delivers approved translations to users’ devices without a new release. Fix a translation typo in production, approve it on the platform, and users see the corrected string on next app start. No store review, no version bump.
Placeholder protection
Format specifiers like %s and %1$d are detected and validated throughout translation, so a mistranslated placeholder never crashes a formatted string in production.
CLDR plural handling
Upload English with two plural forms, and Localazy generates Czech with three and Arabic with six. Every target language gets exactly the <plurals> items it needs.
AI-driven translation
with human control
Localazy CLI: Automated localization for your project
Keep iOS and Android translations in sync
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.