The Chinese version of Android software sounds very technical, but it is actually not difficult to achieve.
Under the Android platform, the suffix of the program file is ".APK". APK is the abbreviation of Android Package, which means Android installation package. It is similar to the WM system ".CAB" and the Symbian system ".SIS" ” file format.
APK program files can be decompressed with decompression software such as WinRAR. We only need to decompress the resources.arsc file, use Chinese tools to translate the English resources in the .arsc file into Chinese, and modify Contain English pictures, then replace the original file, and finally
re-sign the APK file.
Tools/Materials
1. Java
2. Decompression software: WinRAR
3. Chinese tool: AndroidResEdit (required. NET Framework 2.0 support)
4. Picture localization software: Photoshop
5. Signature program: Auto-sign
Steps/Methods
1
A. Unzip the News and Weather software installation file GenieWidget.apk, right-click, select "WinRAR" in the shortcut menu to open the APK file, and extract the resources.arsc file.
2
B. Chineseization
1. Text Chineseization Run the AndroidResEdit software and open the resources.arsc file that was decompressed before. The software will list all English entries in the original resource column. Double-click on an entry and enter the translated content in the pop-up dialog box. After confirmation, the Chinese version of the entry can be completed (the E text is not good). Friends can use Google online translation or use dictionary software to translate). After translating all the entries into Chinese in turn, click Save File in the File menu. Generally, we only need to translate entries that start with capital letters. There are also a small number of entries that start with lowercase letters, which we need to judge by ourselves. Underlined software parameters, directory names, and file names do not need to be modified, and formatted output parameters such as %s% and d% do not need to be modified. Just copy them. When inputting, be sure to use half-width lowercase characters, otherwise it will Something went wrong. If there are too many entries that need to be translated, it will be troublesome to translate them one by one. An[Harmony]droidResEdit software also provides dictionary import/export functions. Click File → Export Dictionary → Entries starting with capital letters to export all entries starting with capital letters as a .txt text file. Then open the exported TXT text file, enter the Chinese content after the automatically generated "|" vertical bar, and save it after all is completed. Finally, select the import dictionary function in the AndroidResEdit software and import the translated TXT file.
2. Picture Chineseization Some software will have button pictures containing English. We only need to find the corresponding pictures and use drawing software such as Photoshop to make them into Chinese button pictures. Generally speaking, all picture materials of the software are in the \\res\\drawable directory in the APK file, and the picture format is PNG. In addition to Chinese pictures, we can also replace the icon materials in this directory to beautify the software.
3
D. After the signed APK file is completed, it needs to be re-signed before it can be installed and used. Before signing, delete the original signature file, open the APK file with WinRAR, delete the two files except MANIFEST.MF in the META-INF folder, and then close the WinRAR software. Open the An[Harmony]droidResEdit software, select the "Sign APK File" function in the signature menu, specify the location of the APK file to be signed, click the Sign Now button, and then specify the save location of the newly signed APK file. It will prompt that the signature is completed and you are done. . Next, you can install and test it on your mobile phone. If you find problems that it is not Chinese or has Chinese errors during use, you can correct it according to the above steps.
4
C. Replace the Chinese files and pictures. After the resources.arsc file and pictures have been Chineseized, use WinRAR again to open the original APK installation file, drag the resources.arsc file into the WinRAR working window, and replace the original files.
Use the same method to drag the processed image into the \\res\\drawable directory and replace the original image