Android
Integrate i1n with Android using XML string resources.
Setup
Run i1n init in your Android project. The CLI detects AndroidManifest.xml and configures XML string resource format.
Android uses its native localization system — there is no i1n SDK for Kotlin/Java. The CLI manages your strings.xml files in the res/values directories.
Usage
Use getString(R.string.key) in Kotlin/Java or @string/key in XML layouts. i1n reads and writes standard Android XML string resource files.
Plurals, string arrays, and parameterized strings (%1$s, %2$d) are supported and properly protected during AI translation.
Workflow
Add strings to res/values/strings.xml, push with i1n push, translate, and pull. Translated files are written to the appropriate values-{locale} directories (e.g., values-es/, values-fr/).
Bridge Mode is not applicable to Android — the platform uses its own native localization system. Compatible with Kotlin, Java, and Jetpack Compose.
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="home_title">Welcome</string>
<string name="home_subtitle">Get started with i1n</string>
</resources>