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.
2
-
1May 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
Add a comment
|
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.
-
@ 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 <string name=“my_string_1”>my_text_1</string> – user20191130 Dec 13 '19 at 10:30