One-click localization for Android. Translate your strings.xml into any language without leaving Android Studio.
- In Android Studio: Settings → Plugins → Marketplace → search i18n Agent → Install
- Install the CLI:
npm install -g i18nagent - Log in:
i18nagent login
| Action | How to trigger |
|---|---|
| Pull Translations | Tools → i18n Agent → Pull Translations, or right-click any strings.xml |
| Push Translations | Tools → i18n Agent → Push Translations, or right-click any strings.xml |
Pull scans your project for res/values/strings.xml, lets you pick target languages, translates via i18n Agent API, and writes results to res/values-{locale}/strings.xml.
Push finds all existing res/values-{locale}/strings.xml files and uploads them as translation memory pairs for future use.
Android Studio → Settings → Tools → i18n Agent
- CLI Path — auto-detected from
PATH,/usr/local/bin,/opt/homebrew/bin. Override here if needed. - Status — shows whether
i18nagent loginhas been run.
- Android Studio Hedgehog (2023.1) or later
- Node.js (for the CLI)
- i18n Agent account
./gradlew runIde # Run plugin in a sandbox IDE
./gradlew test # Run unit tests
./gradlew buildPlugin # Build distributable ZIPPush a version tag to trigger automated publishing:
git tag v1.0.0
git push origin v1.0.0GitHub Actions builds, tests, signs, and publishes to JetBrains Marketplace automatically.
Required GitHub repository secrets:
| Secret | Description |
|---|---|
PUBLISH_TOKEN |
JetBrains Marketplace token |
CERTIFICATE_CHAIN |
Plugin signing certificate (base64) |
PRIVATE_KEY |
Plugin signing private key (base64) |
PRIVATE_KEY_PASSWORD |
Signing key password |
See Plugin Signing docs for how to generate signing keys.
An example Android project for testing the plugin is included in the example/ directory. See example/README.md for setup and testing instructions.
MIT License - see LICENSE file.
Built by i18nagent.ai