Xiaomi MiCode GitHub updated to include framework and application resources

Discussion in 'MIUI News' started by MarkHUK, Mar 24, 2012.

  1. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    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.
  2. mrbean


    Mar 1, 2012
    Aircraft Avionics Technician
    Cape Town South Africa
    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.
  3. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    I've started to commit our improved XML, because the XML is in an entirely new format to what apktool pumps 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.
  4. Acid

    AcidScripting Ninja
    Staff Member

    Aug 20, 2011
    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).
    Pengus likes this.
  5. suksit


    Dec 4, 2011
    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:
  6. P00t


    Aug 8, 2011
    facebook existing contact sync will be available?
  7. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    Eventually but i'd rather report big problems :)
  8. MarkHUK

    MarkHUKFounder & Sys Op
    Staff Member

    PS. Please keep these threads clean, we wont ask twice, messages will be either moved or deleted appropriately if they deviate from the topic.


  9. It will be great if they accepts pull requests and include community translations to officical ROM.
  10. Benson


    Feb 25, 2012
    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... :)
  11. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    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.

Share Our Site