Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 773 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 773 Bytes

Xiaomi MiWiFi XML translation utility (English, Russian, others)

Functions

Fills strings in a new file from an old file XML

Instructions

  1. Download Xiaomi MiWiFi APP Android APP
  2. Unpack APK file for example
  3. Сopy 4 files from unpack miwifi.APK: strings.xml, plurals.xml
\res\values\strings.xml and plurals.xml
in
values\strings.xml and plurals.xml
\res\values-zh-rCN\strings.xml and plurals.xml
in
values-zh-rCN\strings.xml and plurals.xml
  1. Run python translator.py
  2. New strings are copied to file: new_string.txt
  3. Translate new strings in new_string.txt
  4. Run python translator.py
  5. Repack APK file

Compatibility

  • Python 3.4+