ycannot / Android-IOS-App-Strings-Converter

Python script that converts strings.xml to Localizable.strings and vice versa.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


  • Author: Yiğit Can YILMAZ *
  • Created on: 11.02.2020 *

Strings Converter

  • This code converts android and IOS strings files to csv and vice versa.
  • Multi-language is supported.
  • You can:
    • Convert android strings file to IOS strings files,
    • Convert IOS strings file to android strings files,
    • Convert android strings to csv and vice versa,
    • Convert IOS strings to csv and vice versa.

Steps

  1. Locate the android strings files, IOS string files or csv file into the same directory with script files.
  2. If your csv file includes more than two languages, you can add other languages into languages list in csv_to_strings.py. (Optional)
  3. if you have more than two translation files you can add other languages into languages list in strings_to_csv.py. (Optional)
  4. Rename android files as strings_tr.xml and strings_en.xml, IOS files as Localizable_tr.xml and Localizable_en.xml.
  5. Run the strings_converter.bat file.

Screenshots

Screenshot

About

Python script that converts strings.xml to Localizable.strings and vice versa.

License:GNU General Public License v3.0


Languages

Language:Python 99.8%Language:Batchfile 0.2%