Nov 14, 9:46pm

The translated strings live in the APK as per-locale resources (values-fr/strings.xml, values-de/, etc.). The trick is that translations share the same resource name (key) as the default string, so you map the string → its key → the translated value.

1. Decompile the APK

bash
apktool d app.apk -o app_decoded

2. Find the key of your string in the default language

bash
grep -F 'Your string text' app_decoded/res/values/strings.xml

which gives something like <string name="login_button">Your string text</string>.

3. Look up that key in the target locale

bash
grep -F '"login_button"' app_decoded/res/values-fr/strings.xml

If the locale folder doesn't exist (or the key is missing there), the app simply falls back to the default string, meaning no translation exists.

Alternatives

  • Without decompiling: aapt2 dump resources app.apk prints every resource with all its locale variants and values, so you can read the translations directly (or pipe through grep for the resource name).
  • If you only have the string and no key, you can also search all locales at once and eyeball the position: grep -r -F 'Your string text' app_decoded/res/values*/strings.xml, then compare line numbers across locale files (they usually follow the same order).
  • For a quick one-off, online APK decompilers or jadx also expose resources.arsc per locale, but apktool/aapt2 are the standard scriptable routes.

Note: some apps ship translations in Play Store "App Translation" services or download them at runtime, in which case only the default strings are in the APK.

Nov 14, 9:46pm

This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.

Vibe can make mistakes. Check answers. Learn more