Italian language on MIUI v4


Mar 10, 2012
21
0
21
#1
Hello to everyone,
I'm HTC One S owner, and i run in my phone an unofficial MIUI ROM v4 2.5.25(http://forum.xda-developers.com/showthread.php?t=1649559)
I try to add the Italian language to this amazing ROM... i decompile the framework-res.apk and add a new folder "values-it" with the strings.xml and arrays.xml transalte in the italian language.
But when i flash the rom and go to setting-language i don't found the Italian language.. i have only english and chinese... where i have do a mistake?
Regards
Ivan
 
Mar 10, 2012
21
0
21
#2
I have translate the framework-res.apk on MIUI v4 2.6.1... And now i have the Italian language on the miui..
But now i have a problem with apk tool and framework-miui-res.apk i have a lot of error on it when decompile and recompile...

This is a part of the error:
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
60: error: Public symbol id/author declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
68: error: Public symbol id/banner declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
64: error: Public symbol id/boot_msg_animation declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
63: error: Public symbol id/boot_msg_title declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
53: error: Public symbol id/bottom_flag declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
51: error: Public symbol id/buttonCopy declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
52: error: Public symbol id/buttonCut declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
53: error: Public symbol id/buttonPaste declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
54: error: Public symbol id/buttonPasteList declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
55: error: Public symbol id/buttonSelect declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
56: error: Public symbol id/buttonSelectAll declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
88: error: Public symbol id/cancel_menu_item declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
89: error: Public symbol id/cancel_menu_item_icon declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
90: error: Public symbol id/cancel_menu_item_text declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
04: error: Public symbol id/carrier declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
65: error: Public symbol id/categorylist declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
52: error: Public symbol id/center_flag declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
02: error: Public symbol id/common_root declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
01: error: Public symbol id/content declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
30: error: Public symbol id/current_date declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
84: error: Public symbol id/date declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
80: error: Public symbol id/delete declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
78: error: Public symbol id/deleteButton declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
27: error: Public symbol id/dot_digital declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
76: error: Public symbol id/downloadButton declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
73: error: Public symbol id/downloadProgress declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
11: error: Public symbol id/duration declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
83: error: Public symbol id/edit declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
78: error: Public symbol id/edit_organization_company declared here is not defin
ed.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
79: error: Public symbol id/edit_organization_title declared here is not defined
.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
03: error: Public symbol id/emergencyCall declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
45: error: Public symbol id/expand_button declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:7
46: error: Public symbol id/expand_button_divider declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
25: error: Public symbol id/first_digital declared here is not defined.
C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\res\values\public.xml:8
29: error: Public symbol id/fouth_digital declaredbrut.androlib.AndrolibExceptio
n: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\PRO
PRI~1\AppData\Local\Temp\APKTOOL2186217506199333357.tmp, -x, -I, C:\Users\Propri
etario\apktool\framework\1.apk, -S, C:\Users\Proprietario\Desktop\APKTool\framew
ork-miui-res\res, -M, C:\Users\Proprietario\Desktop\APKTool\framework-miui-res\A
ndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\PROPRI~1\AppData\Local\Temp\APKTOOL2186217506199333357.tmp, -x, -I, C:\User
s\Proprietario\apktool\framework\1.apk, -S, C:\Users\Proprietario\Desktop\APKToo
l\framework-miui-res\res, -M, C:\Users\Proprietario\Desktop\APKTool\framework-mi
ui-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
here is not defined.

Someone can help me please?
Regards
Ivan