1

I’m using apktool (and other tools) with an android apk file, to try to find the strings.xml files used for different languages (inside values-** directories). However, I can’t find any languages directories (e.g. values-fr), and I know the app supports different languages. I’m using a phone with Android 8. When I use a phone with Android 4, I do find the values-** directories.

user20191130
  • 340
  • 1
  • 9
  • 1
    May be your apk is created from app bundle and because of that doesn't include other language resources. – Vivart Dec 12 '19 at 15:05
  • @Vivart Thanks; I think it could be possible that app bundle was used to create the app, and dynamic updating of strings is used. – user20191130 Dec 13 '19 at 10:35

1 Answers1

7

I get strings from apk via Android studio: Build -> Analyze APK -> select APK -> click on resources.arsc -> string. From table with strings you can copy to excel.

enter image description here

Evstropov V
  • 472
  • 2
  • 10
  • @ Evstropov V Thanks a lot for this cool trick; is there an easy way to create the final strings.xml files? Or do we have to manually type string by string for each language file my_text_1 – user20191130 Dec 13 '19 at 10:30
  • I got resources.pb from an aab but AS seems unable to open it – htafoya Jun 06 '23 at 00:46