Hebrew MIUI 4.0!

Discussion in 'Hebrew Translation' started by cat_baxter, Nov 9, 2012.

  1. cat_baxter

    cat_baxterMembers

    Sep 21, 2012
    163
    18
    28
    Male
    iBotPeaches,

    I'm helping to the user jhono to reanimate the hebrew translation for Xiaomi MiOneS, so we've built new repo and extended and corrected the previous work of the user roenano.

    Could you please include the new repo to the language pack?

    https://github.com/catbaxter/ma-xml-4.0-hebrew
     
  2. ingbrzy

    ingbrzyXiaomi.eu Multilang leader
    Staff Member

  3. cat_baxter

    cat_baxterMembers

    Sep 21, 2012
    163
    18
    28
    Male
    Sure, I'll fix it and test too :)
     
  4. jhono

    jhonoMembers

    Sep 20, 2012
    9
    0
    11
    Male
    very nice!
    hope it will be included for the next firmware release..:)
     
  5. ingbrzy

    ingbrzyXiaomi.eu Multilang leader
    Staff Member

    tests were without issue, so it will be included in 2.11.9... :)
     
  6. cat_baxter

    cat_baxterMembers

    Sep 21, 2012
    163
    18
    28
    Male
    Great! Thanks. There are few problems (with Permission Manager for example), but we're working on it :)
     
  7. ingbrzy

    ingbrzyXiaomi.eu Multilang leader
    Staff Member

    no problem... push yours changes to the repo often as you can.... there is lot of to improve.. but you just started so good luck and no lot of reports from users... :) you have to compare xmls by english default repo https://bitbucket.org/iBotPeaches/ma-xml-4.0-english/src
    for comparing on windows, I am using PSPad or WinMerge... for editing Notepad++... good luck and welcome to the translators team... if you have any question, just let me know... ibotpeaches has a lot of work to do.... just one more advice - what you cant translate - dont put it in yours xml.. it will pull from default values... it will prevent lot of FCs...
     
  8. ingbrzy

    ingbrzyXiaomi.eu Multilang leader
    Staff Member

  9. cat_baxter

    cat_baxterMembers

    Sep 21, 2012
    163
    18
    28
    Male
    Great! We have only Xiaomi Mi One S devices in order to debug the Hebrew translation and the funny thing that multilang package hangs on MiOneS due to limited /system partition size (211 MB only). So I'm goind to write a small python script that cleans unnecessary resources and generates the final 'translated' firmware. Is it OK?
     
  10. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,114
    335
    Kansas
    We need to find an extra 8MB of space, and since we removed GApps from /system, its gonna be hard to find a remaining 8MB. I already wrote a script to kill off all xhdpi images since MI ONE S isn't xhdpi, but that still leaves around 7MB to free. We need to just delete some images or something. Or optimize everything.
     
  11. cat_baxter

    cat_baxterMembers

    Sep 21, 2012
    163
    18
    28
    Male
    Peace of cake: we can just move some "system apps" to data\media\preinstall_apps
    3.908.065 Browser.apk (it seems we can't :(
    162.412 Calculator.apk
    1.879.796 Email.apk
    594.611 Exchange.apk
    2.705.427 FileExplorer.apk
    590.648 FM.apk
    1.332.678 MiuiCompass.apk
    4.404.375 MiuiGallery.apk
    4.019.562 Music.apk
    4.576.264 Notes.apk
    437.054 QuickSearchBox.apk
    574.704 SoundRecorder.apk
    then new system partition will be just 187 MB and the system boots perfectly (just checked it :)
    What do you think?
     
  12. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,114
    335
    Kansas
    Some apps have to be in system to function though.

    Sent from my Nexus S using Tapatalk 2
     
  13. cat_baxter

    cat_baxterMembers

    Sep 21, 2012
    163
    18
    28
    Male
    That's right - but xiaomi puts many 'not true system apps' to system partition and we can just move them out in order to allow users to boot :) So, we could try - it's better to have the working language pack for MiOne users than haven't one.

    So, I offer two possibilities:

    1. Your script moves the following apps to \data\media\preinstall_apps\

    2 704 682 FileExplorer.apk
    4 401 812 MiuiGallery.apk
    4 015 156 Music.apk

    you can put here gmail and gplay apks too :)

    PS. Don't forget to sign the app!

    2. Or I can write a script in order to postprocess the language pack for MiOne users and they need to apply it later.

    Ideas?
     
  14. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,114
    335
    Kansas
    Then lets get together on IRC tonight or tomorrow and test this out.
     
  15. cat_baxter

    cat_baxterMembers

    Sep 21, 2012
    163
    18
    28
    Male
    iBot, I've put the test Xiaomi MiOne firmware 2.11.9 with built in language pack here.
     
  16. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,114
    335
    Kansas
    Still have to update build scripts but glad it works.

    Sent from my Nexus S using Tapatalk 2
     
  17. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,114
    335
    Kansas
    I've updated scripts. Need an mi one owner to come to IRC to test a pre-release MULTI.
     
  18. cat_baxter

    cat_baxterMembers

    Sep 21, 2012
    163
    18
    28
    Male
    Great, send me the link via PM, I'll test it immediately on my MiOneS!
     

Share Our Site