yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] mobiousdigital:
OMFG CHECK THIS OUT!!!

Amazing UI!!!!!!!

http://www.miui.com/thread-2300-1-1.html
[Nexus One Android Development] Ivanovic:
This is my last attempt to create a greek language pack since there is no support and no interest.

In the following link i have the necessary APKs translated in Greek both from the unstranslated rom and from the multilingual pack

1)I got the apks from the original and put the greek values inside them

2)I got the apks from the multilingual and put the greek values inside them

I did it for both cuz i wasnt sure what to use.The zips are not signed.There arent even properly created as update zips cuz i have no clue how to do it and the people i asked for help wont bother.

So if anyone has time and wants to straight some things up it would be great.Otherwise an effort for a greek pack wont be done again.

Thanks guys and here is the link http://www.megaupload.com/?d=3NBAW7SL
[Nexus One Android Development] MishFdM:
:eek:

What kind of UI is that ?
[Nexus One Android Development] pellix:
0.10.15 catalan translation

Hello,

here's the 0.10.15 catalan version:

xxxx://dl.dropbox.com/u/8581707/miui-n1-0.10.15-catalan-v5-signed.zip

xxxx://dl.dropbox.com/u/8581707/MD5SUMS.txt

There are some untranslated strings (english), but is fully usable. I hope that in a few days we can release a almost full translated version. We are translating all the apps, not only the MIUI apps, and it's hard :)

Comments and feedback are welcome.

Greetings,

Oriol.
[Nexus One Android Development] ZeGM:
Hi guys,

Where can I find Google Apps for that mod ?

If I try to install CM6 Gapps, the camera, calendar etc... don't work anymore...

Any help nedded please.

Thanks.

Franck.
[Nexus One Android Development] MishFdM:
Try with gapps-hdpi-20101008-signed.zip

It works for me on MIUI 0.10.15
[Nexus One Android Development] mobiousdigital:
@MishFdM

Missed you on IRC, come and hang out :-)
[Nexus One Android Development] Wetal:
here the blog

w ww.uirss.com/group_blog_view.asp?blog_id=79
[Nexus One Android Development] mobiousdigital:
Thank you Wetal :-)
[Nexus One Android Development] kaobiore:
HOW TO SPEED-UP THE TRANSLATION-PROCESS:

I've created a simple application (java-based) which tries to merge orginal-froyo-translation (taken from the official repository) into the miui-value-files. (only strings.xml are currently supported).

This program is available here:

http://www.multiupload.com/HVZXDBHIVU

How it work / what you have to do:

1) Extract the Translator.tar.gz file (windows-users use winrar or whatever) - a directory named "Tanslator" will be created.

2) Extract the strings.xml file from the miui-package you want to translate.

This can be done with the apk-tool: apktool -d Contact.apk Contact_decoded

Copy the "res/values/strings.xml" to the created "Translator"-direcory. Open that folder and rename (the previous copied) strings.xml to "untranslated.xml".

3) Copy the strings.xml from the official froyo-sources for the package and the language you want to "merge" to the "Translator"-directory and rename the string.xml-file to "translation-file-from-froyo-repo.xml".

4) Run the program. Open a command-prompt/console. Change directory into the "Translator"-Directory and run:

java Translator untranslated.xml translation-file-from-froyo-repo.xml

This will generatre a file named "translated.xml"

For some safety reasons not all string which match "by key" are merged. (Stuff wich contains characters like '<' or '%'). You probably see some warnings printed in console (with the key) that needs to be translated manually.

If you want to override this "safety-featiure". Run the app with:

java Translator untranslated.xml translation-file-from-froyo-repo.xml psycho

(psycho at the end)

Hope this helps somehow.
[Nexus One Android Development] mobiousdigital:
Nice work dude :-)
[Nexus One Android Development] djmcnz:
I downloaded to see if I could help you out an create an update.zip (once) but there are duplicate files in the archive and I can't work out what to do with them sorry. I'm not sure of the reason for having two sets if they both have the same Greek translations... can you explain?

Here are instructions on how to make an update.zip when you want to try it yourself:

http://xdaforums.com/showthread.php?t=641223

http://www.robmcghee.com/android/creating-an-android-update-zip-package/

http://www.londatiga.net/it/how-to-sign-apk-zip-files/
[Nexus One Android Development] kaobiore:
@dmjcnz:

Could you please update the link to the german-translation-pack, please?

http://xdaforums.com/showpost.php?p=8720708&postcount=2113

Thanks.
[Nexus One Android Development] Ivanovic:
I wrote on the begging of my post that i wasnt quite sure which APKs to use for decoding so i decoded both original APKs from the ROM and APKs from the multilingual package.
[Nexus One Android Development] djmcnz:
General thoughts...

You shouldn't need to pay for hosting, there are many good hosts on offer here at xda

People want to contribute so if you implement a community system then make sure the community can contribute. It can be limited but it shouldn't be exclusive.

People perceive the publication of a pack to be worth more kudos "points" than the actual translation. Although I'm not sure why, it is worth keeping this in mind.

It's currently difficult for Joe Blogs to work out the latest packs/apps/etc so some content and naming conventions should be established.

I am of the personal view that a Language Pack should contain language-related changes only and other things should be left to include in rom bundles.

If anybody is going to the effort of translating and publishing then they must also go to the effort of creating an update.zip and signing it properly. It's not difficult or time consuming, there are no excuses for doing 90% of a job then calling it quits.

Either centralise around the use of crowdin.net or shut that project down. There's no sustainable way to support multiple languages using any other mechanism I'm aware of.

And on that note, release ML packs only, and do them on a schedule. e.g "First ML pack is MIUI + 24 hours and includes everything (Latin?) in Crowdin at that time, nothing more, nothing less. This will drive translations to Crowdin in a managed fashion and manage release expectations. We can prevent leaks (by restricting who can download files from Crowdin) if we need to but I'd prefer that didn't have to happen.

Somebody who a) uses MIUI and b) wants the responsibility will need to pick up the translation project on Crowdin from me shortly... I don't have time to contribute ongoing. I don't know if we can even do this, it may be an import/export exercise to a new project.

Once a system is in place, using whatever tools you guys think works best for you, then after a few successful releases I would recommend that ML pack gets it's own thread and one of the "translation team" can own that so you're not dependent on my sad arse to update ****. For the time being though it makes sense to discuss all this stuff and sort it out and publish a few in this thread first (practice... :)).

You'll eventually need a new Crowdin PM (to replace me and upload new strings)

Crowdin translators (sorted)

Eventually a new thread an OP here on XDA

At least one apk compiler

And/or one zip creator/signer

A host (I can do this for the time being but only with a better release structure)

If there was effective distribution of responsibilities I do think a "team" could easily share the load and release a ML pack within 24 to 36 hours of each MIUI release.

Just thoughts...
[Nexus One Android Development] djmcnz:
Yep, done... :)
[Nexus One Android Development] djmcnz:
Yes, but I can't guess what's in your head... ;) - which ones you you want me to use?
[Nexus One Android Development] djmcnz:
Have added to thread title and second post but I can not download the file to provide a mirror... :(

Do you have another upload I can get?
[Nexus One Android Development] Ivanovic:
From the original APKs.As i said i dont know which do i have to use :)

Btw can you add Greek in the crowdin project?

I have already everything translated but i would be good to be under the same roof :)
[Nexus One Android Development] djmcnz:
Done...... update.zip coming... have a look at the links above too.

edit: MIUI-0.10.15-Greek-2-signed.zip

Let me know how it works...
[Nexus One Android Development] Ivanovic:
bootloop :/
[Nexus One Android Development] raxnor:
Status 2 error

When I try to flash multilingual or english package I get this error. Error in sd card/..... (Status 2). Any hint?

Thanks
[Nexus One Android Development] djmcnz:
- framework-res.apk

MIUI-0.10.15-Greek-3-signed.zip

Clear caches before flashing.

If it still doesn't work then look at your logs or push the apks one at a time to see which one is bad.
[Nexus One Android Development] Ivanovic:
Thanks for your efforts! After rebuilding the APKs with the new translations do i need to do anything else? The format inside should be values-el or values-rEL ?
[Nexus One Android Development] kaobiore:
My thought:

1) I don't like the idea of having all translations in one update-pack. These translations will never be finished - or at least there will be a new miui-release before all things are sorted out. Having a multilanguage-pack in a GOOD QUALITY is not possible to make between these release-cycles. (And I personally hate half-working, half-translated ... things - especially packed into a rom)

2) Yes. We need a "build-system" or something like that for patching the apks and put an update.zip together. (I have one - and I already shared this "system" with others on #miui)

3) It would make sense to create a google-code project which holds all tools and other useful stuff (programs, scripts, whatever). Maybe even such a mentioned build-system.

4) There should be one "maintainer" for each language (native speaker) who ensures the quality of the translation.

5) Use as much "phrases" as possible from the official froyo-repository! Users will feel more comfortable if the "wording" feels familiar.

6) Right now there are some update-packages floating around which have only "some" apps translated - this needs to be mentioned on the first page.
[Nexus One Android Development] djmcnz:
All of the steps are in post #2... I'm not sure on el/rEL sorry... look in another apk that has Greek support.
[Nexus One Android Development] mobiousdigital:
I'd imagine the ISO country code is GR but check using More Locales! :-)
[Nexus One Android Development] djmcnz:
This all has my support... except #6 because I don't have time to do that. When a pack is posted if it's named correctly. signed properly and a description given I will prioritise updating the thread and mirroring the pack. I will link to that post, people will have to read it for themselves... :)

I can't read this thread all of the time so if people have complete and well formatted packs they want me to host/promote please pm me. No pm's to build zips please... lol, like 50 a day... :rolleyes:
[Nexus One Android Development] Ivanovic:
Confirmed that it is values-el after decoding the Contacts.apk from Defrost ROM!

These are the steps i followed too! But the last steps requires to take the resources file from translated app and put it into the original app.When you re creating update signed zips do we need that step?

Gallery3D works and translated.

FM radio Force closes

Contacts Force closes

Phone Force closes

Backup works and translated

Settings partially works and translated.When i enter BT or Wifi settings it crashes
[Nexus One Android Development] djmcnz:
update.zip is totally separate from the apk process... the update.zip is just an installer package so yes, you need to do all of post #2 then create an update.zip or simply push the files to your phone.

Bummer.

You'll need to carefully check the xml in each of those that crash...
[Nexus One Android Development] Ivanovic:
I dont get just one thing.

We have the original deoxeded ROM.We flash it,and the we flash the update zip in order to get the languages.Everyone who wants to flash an update zip in order to get deutsch for example is copying the resources to the original apk and push it via adb?

So,why do i need to copy the resources from translated APKs to the original ones? It doesnt seem to me that everyone who is using update zips for his language packs is doing it.
[Nexus One Android Development] mobiousdigital:
English Pack #5 miui-n1-0.10.15-english-signed_PACK5.zip (19.22 MB)

Minor fix:

- Updated installer script to show correct pack being installed

- Removed framework-res.apk from system/app (oops!)

- Chinese text in Launcher2 xml/default_workspace.xml removed:

<folder launcher:screen="2" launcher:x="2" launcher:y="2" launcher:title="系统工具" />

Link: http://www.multiupload.com/O3JBY2X58X
[Nexus One Android Development] djmcnz:
You've just described the same thing? :confused:
[Nexus One Android Development] mobiousdigital:
You have to copy resources into old apk to retain signature of file or it fails.

If your just testing you need to do this as well but you can then push the patched original apk with new resource straight to phone via adb. Failing that making update.zip for people if you want an installer method!

Simple.
[Nexus One Android Development] Ivanovic:
In short the proccess:

Decode

Translate

Place into res folder

Build

Copy the resources from translated to original,push first original with new res then push translated

When we are using update zips we are not pushing using adb the apk files.We re flashing via recovery.So how am i supposed to copy the new resources to the original applications? Is it needed at all?

Someone who has created a language pack with signed update zip can guide us? Clear things out?
[Nexus One Android Development] djmcnz:
1st, 2nd post updated, mirrored

miui-n1-0.10.15-english-pack-5-signed.zip
[Nexus One Android Development] djmcnz:
? no, just push the translated one.

You're a little confused:

Either: Create translated apks (i.e. translate and copy resources to original), make update.zip with translated apks (which are the original ones with the new resources in them), flash update.zip

Or: Create translated apks, push translated apks one-by-one
[Nexus One Android Development] hotweiss:
Does not flash.
[Nexus One Android Development] Ivanovic:
Again i m more confused!

Do i need resources from the original untranslated apks into translated or the other way?

You said translate and copy resources to original.The decoded app is the original.Right? I put inside the translations.I build the apk again.Inside that translated apk there is a resources file.What do i do with it? Delete it? Copy it somewhere else (original unstranslated apk)?
[Nexus One Android Development] djmcnz:
Think about that question for a bit...

It's in the second post. Resources.arsc contains the languages.
[Nexus One Android Development] mobiousdigital:
Use 7zip to open both apks, put the new resources into old apk and voila.
[Nexus One Android Development] Ivanovic:
Ok,i decoded one original application from the base rom.I put inside the translations and i rebuild it.So far so good.During the rebuild process the resources file is being updated.Right?

So why do i need to bother about this file anyway since its inside the zip as a result of the rebuild process?

The second post of this thread says to take out this resources file and insert it into the original untranslated file.Nothing more.It doesnt say push it here or there,it doenst say put it inside the ROM and then flash the ROM.It leaves everything to my imagination which isnt that wide at the moment :P
[Nexus One Android Development] mobiousdigital:
Thanks dude :-)
[Nexus One Android Development] Ivanovic:
So,i dont flash the APK that has been rebuilt using Apktool.I just take out the resources and i push via adb or install via update zip the old apk with new resources.Right?
[Nexus One Android Development] stefanve:
Multilingual pack 3# is done

Italian is fixed now :)

http://xdaforums.com/showthread.php?t=792123
[Nexus One Android Development] djmcnz:
Correct.

Second post has nothing at all to do with update.zips... you don't use these at all for the translations, only to create an "installer pack"

old apk + new resources

push for individual apks

update.zip for multiple apks
[Nexus One Android Development] Ivanovic:
Now it became clear! I though we need to push or update the apk that comes from apktool.Thanks guys and sorry for being noob.

Gonna try it right now!
[Nexus One Android Development] djmcnz:
NP but ?

kjkn;k
[Nexus One Android Development] Ivanovic:
Yup! Finally Contacts.apk works fine! Gonna try with the rest now and try t create my own update zip for the other greek users!
[Nexus One Android Development] djmcnz:
Well done! :)
[Nexus One Android Development] stefanve:
I just put your translations in the multilingual pack :)

from the one the desire forum

http://www.multiupload.com/O39VSTUFOU
[Nexus One Android Development] cangri87:
English 5 does not flash..

English #5 doesn't seem to be working..?

am i missing something?
[Nexus One Android Development] Ivanovic:
Greek language pack works! Not signed but ready for download! http://www.megaupload.com/?d=O5IRGXKU

Expect an updated version soon with framework fully translated (currently cant build it after i instert the translated strings.xml) and some chinese removed!

Thanks djmcnz and mobiousdigital for the help!
[Nexus One Android Development] stefanve:
maybe because there is a <item> tag in the resources xml , Like in the phone.pkg

these are not in the growdin project
[Nexus One Android Development] djmcnz:
Post any files you need uploaded to crowdin.
[Nexus One Android Development] stefanve:
In some pkg there are some other tags than the string tag, these do not need to be translated but are necessary for it to work
[Nexus One Android Development] Ivanovic:
So what do i need in order to build it correctly?
[Nexus One Android Development] djmcnz:
I don't think that one will work but this one should:

MIUI-0.10.15-Greek-Pack-4-signed.zip
[Nexus One Android Development] mobiousdigital:
what issue are you having with it?
[Nexus One Android Development] pakraider:
if anyone here can get logcat working (i can't), could they please grab some logs to see what happens when you go into accounts & sync --> add account --> facebook?

i'm pretty sure that some exceptions get thrown and/or that log info would be useful. the miui devs would probably put in a fix if they knew what was going on, their words to me were that they just don't have a way to investigate it since they're in China.
[Nexus One Android Development] stefanve:
it the string.xml

make sure this is in there

<item type="string" name="default_wallpaper_component">@null</item>
[Nexus One Android Development] Ivanovic:
Yup its missing.

Should i add it manually?
[Nexus One Android Development] jakeneal22:
After flashing English zip set CPU force closes only did it at start up though. Running fine now
[Nexus One Android Development] djmcnz:
Too many variables, can't assist sorry. Try to reproduce with a full wipe, reinstall rom and install the apks one by one. Which one breaks SetCPU?

Edit... I see your edit... :)
[Nexus One Android Development] g4rb4g3:
You can add the folders. I tried it with fm.apk and german. :-)

But i guess you have to use morelocale2 to set the language.
[Nexus One Android Development] ManLP:
After flash this rom the settings app keep crashing. I didn't flash the english update yet.
[Nexus One Android Development] die-hard:
When I click on memory and SD card in settings this app crash.

Anyone have this problem?
[Nexus One Android Development] fabioccoelho:
Same for me :)
[Nexus One Android Development] djmcnz:
Some do, some don't. :(

Wipe and reflash?
[Nexus One Android Development] ManLP:
Same for me :(
[Nexus One Android Development] jlevy73:
Did not resolve the issue. Although there are other ways to mimic the functionality inside that setting (i.e. mounting and unmounting of sd card).
[Nexus One Android Development] djmcnz:
Okay, I'll look into it... what's you're sd card partition setup?
[Nexus One Android Development] leyvatron:
Trying this now... Thumbs up DJ....

Will report back.
[Nexus One Android Development] mtw4991:
Getting ready to re-flash this rom with the english zip again, but have a question:

Do I need to set up an ext partition on my SD card first? Root explorer already shows an SD Ext folder but it's empty. Just a bit confused on the best way to go about doing this... use a2sd cachesd?
[Nexus One Android Development] bachviet:
Same for me (FC when clicked on "Memory & SD" in Settings)
[Nexus One Android Development] jlevy73:
Swap = 0

Ext3 = 760MB

Fat32 = remainder

Partitioned through Amon Ra 1.8.01
[Nexus One Android Development] gniouki:
Are you using App2SD ? what kind of sd card ? what kind of ext ? 2 or 3 ?

Cause with app2sd, Sandisk 8go class 4 card and 512Mb ext3 it works, a bit long to open but it works
[Nexus One Android Development] jlevy73:
In recovery, I prefer Amon Ra, got to partition SD

1. Click partition sd

2. Set swap = 0 (that's my preference as swap memory is for crap IMO)

3. Ext = how much memory you want to allocate

4. Fat32 by default is remaineder

5. Click ok, once done Ext 2 is set up

6. Click on the upgrade from ext 2 to ext 3.

7. And do all this BEFORE installing the rom

8. Install Rom

9 From terminal emulator do the following:

su

a2sd check

a2sd reinstall

Phone will reboot

a2sd zipalign

a2sd cachesd

phone will reboot

a2sd is set up and dalvik is move to sd card
[Nexus One Android Development] leyvatron:
When GAPPS are installed it removes camera on Chinese launcher...

Original launcher doesnt have youtube but camera works.
[Nexus One Android Development] mtw4991:
Jlevy, thanks for the edu bro. Wasn't for sure. One last question (sorry OP): If I nand restore to CM nightlies, the ext gets wiped out right? Just thinking I could nandroid both CM and Miui and be able to easily switch between them...would this work?
[Nexus One Android Development] jlevy73:
You can nandroid between this and CM nightlies no problem. No the ext does not get wiped out.
[Nexus One Android Development] jakeneal22:
Gotta love the edit button
[Nexus One Android Development] mobiousdigital:
ENG PACK #5 (update-script fixed)

http://www.multiupload.com/O3JBY2X58X
[Nexus One Android Development] stefanve:
Yeah that works fine, just make sure it is between the <resources> tag
[Nexus One Android Development] mobiousdigital:
@djmcnz

Could you replace PACK #5 ENG - update-script was broken! now tested by me personally and working!

Cheers,

M
[Nexus One Android Development] moitespera2:
OTA has left MIUI ROM 0.15.22
[Nexus One Android Development] mobiousdigital:
Link for that then? how can 0.15.22 be out if 22 is October 22?
[Nexus One Android Development] moitespera2:
Link:

www point miuirom point com/thread-2290-1-1 point html

Sorry, I can not put links
[Nexus One Android Development] mobiousdigital:
That does not mean its released ;-) its just a preview for Fridays update.
[Nexus One Android Development] cyberspaced:
New Gapps: http://mirror3.kanged.net/gapps/gapps-hdpi-20101020-signed.zip

But they left the gapps.tar inside thats why it's 34megs, I deleted the .tar and flashed, all good!!
[Nexus One Android Development] kaobiore:
german-update-pack V4 ... available here:

http://www.multiupload.com/4ZH33P6519

Minor changes.

XML-Sources are here:

http://www.multiupload.com/MRS1ARHNC6
[Nexus One Android Development] Conundrum68:
***we need a new thread just for translation issues!!! This is ridiculous!!!***
[Nexus One Android Development] AndroidStop:
Thanks for the German translation guys
[Nexus One Android Development] mobiousdigital:
No we dont, its development section, where feedback and bugs will be reported, what else would you suggest people post here?

On a side-note getting back on topic, I am read to roll tomorrow with updates for MIUI 0.10.22 ENG PACK #1 :-)

Should be fun, who's going to deodex the ROM first? :-)
[Nexus One Android Development] ermacwins:
anyone have a changelog? I wonder if they looked in the $ for us