Xiaomi MiCode GitHub updated to include framework and application resources


MarkHUK

Site Founder
Staff member
Nov 6, 2010
5,212
1,000,000
Hi everyone,

Finally after a lot of pressure we've managed to persuade Xiaomi to release the XML and other resources used to re-build an apk or framework apk file.

This is not source code but it means that the xml will be correctly formatted when compiled which in turn should help eliminate bugs.

I will begin to submit my upstream changes to their GitHub, I would recommend other translators to fork the repository here: https://github.com/MiCode/patchrom_miui/tree/ics/

Thank you to Xiaomi and Sun Peng and Feng Hong and the other MIUI staff.
 
Great stuff, thank you Xiaomi, at first I was thinking, what went wong? But this will make the entire process much smoother. Last minute or even last second changes can now be made with minimal disruption. Thanks guys at Miui, you rock as well. I see great things ahead.
 
I've started to commit our improved XML, because the XML is in an entirely new format to what apktool ***** out, it's proving a little tedious at the moment, I need to write a script to merge the changes for each xml node.

Hopefully if everyone else forks the repo for their respective language it could mean a true multi-language ROM. I've been trying to get this from Xiaomi for a long time now. I'm glad they are finally taking notice of the MIUIAndroid.com community more.
 
So that means If we fork this repo and include our language to MIUI stuff (like MiuiSettings, MiuiPhone etc) Xiaomi will then make multilang roms to download from their site ? We will have to make own roms (or just You) because China will make odexed roms ;p

And for the info. The actual multilang xmls on their github are from Android 4.0.3 so only MIUI v4 will get multilang (at first i guess).
 
  • Like
Reactions: Pengus
Is there a guide on how to setup a proper translation environment using git? Also how to update the translation properly when there are new strings in the XML? I mean how to track and keep the translation up-to-date without having to look into all XML files every Friday :rolleyes:
 
PS. Please keep these threads clean, we wont ask twice, messages will be either moved or deleted appropriately if they deviate from the topic.

Thanks,

Mark
 
It will be great if they accepts pull requests and include community translations to officical ROM.
 
Great - i see the translation files for the apk's, but what about framework-res? There's only res/values (en)... Will try to pull a copy and use it for my translation pack... :)
 
It will be great if they accepts pull requests and include community translations to officical ROM.

It would be great, but then think of the size of a true multi-lang ROM. It would be huge. I feel the best feature would be a downloadable patch via the phone that you apply (not flash), and it changes the languages. Would cut down on the download size of the original ROM and allow lots of languages.