amazfitbip / tools

GNU General Public License v2.0
126 stars 58 forks source link

About zh-merge_old2new_trans.py #28

Open mellijr opened 7 years ago

mellijr commented 7 years ago

@dpeddi Hi, please someone can say me what command it's necesary?, thanks.

mellijr commented 7 years ago

@dpeddi I have my own 74 .txt translated version and I would like to update to the last version with my .txt translated.

dpeddi commented 7 years ago

@winni159: please answer... i dint use that stuff

winni159 commented 7 years ago

@mellijr Hi, I updated the merge tool, please pull the changes. You can use it this way: 1) Create copy of new fw version, e.g. zh-cn2en.txt.0.0.8.96 -> zh-cn2(your_lang).txt.0.0.8.96 2) Use the tool like ./zh-merge_old2new_trans.py -i zh-cn2(your_lang).txt.0.0.8.74 -o zh-cn2(your_lang).txt.0.0.8.96, where -o is the path to the copy which you created in step 1 3) Your translated strings are merged into zh-cn2(your_lang).txt.0.0.8.96 and you can use this file to patch the firmware v. 0.0.8.96

mellijr commented 7 years ago

image Is correct?, I use this command zh-merge_old2new_trans.py -i zh-cn2es.txt.0.0.8.74 -o zh-cn2es.txt.0.0.8.96