Reading Localization.strings from * .ipa

I want to get Locazable.strings taken from a * .ipa file. However, when I do this, I get a few wierd char mix with enter image description here

How can I read it?

+6
source share
3 answers

My friend will find out how:

plutil -convert json Localizable.strings

+10
source

Swift 3

let path = Bundle.main.path(forResource: "Localizable", ofType: "strings", inDirectory: nil, forLocalization: "en") let dic = NSDictionary(contentsOfFile: path!) debugPrint(dic) 

pull the localizable.strings file into your Xcode project and run the code above, and then you can get dic in the Xcode console or save it in text.

0
source

The format of the list of its properties.

two to fix it.

  • change the .strings file to .plist
  • Find the eidt text that can be automatically recognized.
    try the testMate app for Mac.

    xcode 打开

    after:

    enter image description here

0
source

Source: https://habr.com/ru/post/925322/


All Articles