Skip to content

doevent/MiWiFi-translation-utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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+