yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] mobiousdigital:
I didnt do that no, I didnt see the point as the market still did not display Apps UK nor did it show them in the correct price format e.g. £

How can we localise the problem when we don't know what the problem is. I've spent about 1.5 weeks on this problem to fix for everyone but feel I have failed. I can't see a way forward with this, MIUI developers clearly are not concerned enough in the grand scheme of things (as I say who can blame them they support China and thats it!).

So recapping my attempts for this fix:

1. Modified build.prop fingerprints, build id, product name etc [NO SUCCESS]

2. Modified Locales with More Locales2, confirmed en_GB is set [NO SUCCESS]

3. Confirmed gsm.operator.numeric is set to country specific code of 234 (UK) 10 (O2 UK) [NO SUCCESS]

4. Tried Market Enabler (This fakes the gsm.operator.numeric) (Scripts which claim to do the same thing also use same method from .sh / command line) [NO SUCCESS]

5. Checked Vending.apk databases android_metadata = en_GB [SEEMS CORRECT]

6. Checked Vending.apk databases in /data/data/com.android.vending/databases/billing.db (sim_identifier = Long string) [NOT RELEVANT IT SEEMS AS DIFFERENT PER-DEVICE EVEN IN SAME LOCALE]

7. Checked Vending.apk databases in /data/data/com.android.vending/databases/webviewCache.db (link = http://www.google.com/intl/en_GB/android/market-tos.html [SEEMS CORRECT]

8. Tried GAPPS default Vending.apk as used and working in CyanogenMod 6.0 N1 [NO SUCCESS]

9. Checked all locales / timezone details (All correctly returned by getprop en / GB) default.prop does not seem to be enforcing anything to do with Location based services.

During each test caches and data were purged, reboots made etc etc. Maybe people can now see how frustrating this problem is! :-(
[Nexus One Android Development] djmcnz:
There no doubt as to your frustration! What does logcat tell you when you:

Manually check-in to the Market?

Open and search for a UK specific app?

Force stop and clear data first.

Next on my list would be to intercept the traffic at my router and read it... unless it's hashed you'll see the answer in plain sight I suspect.

I think either of these would be more fruitful than code-level debugging... which you'd have to do in machine code... :(
[Nexus One Android Development] djmcnz:
This is probably a good indicator.

E/AndroidRuntime( 1671): FATAL EXCEPTION: main
E/AndroidRuntime( 1671): java.util.UnknownFormatConversionException: Conversion is ''
E/AndroidRuntime( 1671): at java.util.Formatter$Transformer.transform(Formatter.java:1438)
E/AndroidRuntime( 1671): at java.util.Formatter.doFormat(Formatter.java:1082)
E/AndroidRuntime( 1671): at java.util.Formatter.format(Formatter.java:994)
E/AndroidRuntime( 1671): at java.lang.String.format(String.java:2254)
E/AndroidRuntime( 1671): at android.content.res.Resources.getString(Resources.java:283)

A special character or bad delimiter? I can't tell and I think it will be too difficult to diagnose remotely...

Follow my suggestion and back your changes out one by one and recheck all of your work and hunt the problem down!
[Nexus One Android Development] mobiousdigital:
Changes:

- Chinese stuff should be fully removed now! Please report if not! (FULL WIPE REQUIRED!)

- Typo on 'Forwared messages' in Mms.apk corrected to read 'Forwarded messages'

- Turned off enable data roaming in build.prop

- Using FRG33 Fingerprint

- Added Mms.apk fully translated (Trackball colours and button labels in sms attach options)

- final build.prop NOTHING WE DO WILL FIX THE MARKET $ pointless trying with build.prop!

- Removed Telocation.apk (if installed) (Resulted in Chinese location characters displayed in Phone and Contacts.apk's)

- Signed for all recoveries as usual
[Nexus One Android Development] djmcnz:
Nice work, second post and thread title updated, mirrored.

miui-n1-0.10.15-english-pack-4-signed.zip
[Nexus One Android Development] mobiousdigital:
Ok dude....

1. You mean *#*#CHECKIN#*#*?

2. Will do that now

3. New ENG Pack #3 fix could you update mirror and delete older packs please?

Cheers,

Mark
[Nexus One Android Development] djmcnz:
Yep.

Old packs renamed so links will all be broken. It's the internet... files never get deleted... ;)
[Nexus One Android Development] mobiousdigital:
Also that build.prop should be this folks:

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=FRG83
ro.build.display.id=MIUI.0.10.15
ro.build.version.incremental=0.10.15
ro.build.version.sdk=8
ro.build.version.codename=REL
ro.build.version.release=2.2
ro.build.date=Sat Oct 16 13:13:00 GMT 2010
ro.build.date.utc=1285820379
ro.build.type=userdebug
ro.build.user=hanzhupeng
ro.build.host=builder
ro.build.tags=release-keys
ro.product.model=N1
ro.product.brand=generic
ro.product.name=passion
ro.product.device=passion
ro.product.board=mahimahi
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=HTC
ro.product.locale.language=en
ro.product.locale.region=GB
ro.wifi.channels=
ro.board.platform=qsd8k

# Do not try to parse ro.build.description or .fingerprint
ro.build.description=passion-user 2.2.1 FRG83 60505 release-keys
ro.build.fingerprint=google/passion/passion/mahimahi:2.2/FRG33/48579:user/release-keys
# end build properties

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.sf.lcd_density=240
rild.libpath=/system/lib/libhtc_ril.so
wifi.interface=eth0
wifi.supplicant_scan_interval=15
ro.telephony.default_network=0
ro.opengles.version=131072
dalvik.vm.heapsize=32m
media.a1026.nsForVoiceRec=0
media.a1026.enableA1026=1
keyguard.no_require_sim=true
ro.com.android.dateformat=dd-MM-yyyy
ro.com.android.dataroaming=true
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask = 4294967295
ro.ril.htcmaskw1 = 14449
ro.ril.hsupa.category = 5
ro.config.notification_sound=OnTheHunt.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
ro.modversion=
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dataroaming=false
ro.ril.enable.managed.roaming=0
ro.ril.oem.nosim.ecclist=911,112,999,000,08,118,120,122,110,119,995
ro.ril.emc.mode=2
ro.moddevice=N1
dalvik.vm.lockprof.threshold=500
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
[Nexus One Android Development] kaobiore:
german-translation (for 0.10.15) seems to be available:

http://www.multiupload.com/7ALDBLJTUC

haven't tried it so far.
[Nexus One Android Development] djmcnz:
Would be great if somebody could verify...

EDIT: What's your Avatar?
[Nexus One Android Development] hotweiss:
I think I know what this error relates to. The Market now does currency conversions, so this is most likely to a currency conversion problem some where in the code.
[Nexus One Android Development] mtw4991:
Is this already included in MIUI 10.15 Rom or English pack#4 or do we need to copy/paste manually? Just asking as I'm getting ready to do a full wipe and go to 10.15 and check it out.

EDIT: Also, for US users, shouldn't this line be "ro.product.locale.region=US" ??
[Nexus One Android Development] djmcnz:
This is actually mildly interesting:

W/vending ( 842): [28] CarrierService.performRequest(): IOException while performing request.
W/vending ( 842): com.android.vending.api.RadioHttpClient$RetryAfterIOException
W/vending ( 842): at com.android.vending.api.RadioHttpClient.throwExceptionIfError(RadioHttpClient.java:288)
W/vending ( 842): at com.android.vending.api.RadioHttpClient.performRequest(RadioHttpClient.java:139)
W/vending ( 842): at com.android.vending.api.RadioHttpClient.execute(RadioHttpClient.java:107)
W/vending ( 842): at com.android.vending.api.CarrierService.performRequest(CarrierService.java:104)
W/vending ( 842): at com.android.vending.api.CarrierService.getProvisioning(CarrierService.java:56)
W/vending ( 842): at com.android.vending.CarrierProvisioningAction$1.run(CarrierProvisioningAction.java:87)
W/vending ( 842): at java.lang.Thread.run(Thread.java:1096)
E/vending ( 842): [28] CarrierProvisioningAction$1.run(): RetryAfterIOException: [COLOR="Red"]3600[/COLOR]

And it will be interesting to see what happens after 6 mins (3600).

It's not registering your carrier with the Market. I think you've found the problem, now just how to fix...

Seems they've changed the market app code (no doubt so it will work behind the wall) and broken some part of it. A part they can not test... :rolleyes: (BIG) IF I'm correct then I think effort is best spent on porting the stock 2.2.1 version to MIUI rather than diagnosing this...
[Nexus One Android Development] djmcnz:
^^^ listen to him, he knows what he's talking about. Respect.
[Nexus One Android Development] mobiousdigital:
Yes, you need to change region to US, and yea included in pack but you will need to pull and push the build.prop

Only way to do this is how i've posted here - I recommend getting the code from the forum here then pushing it with your locale change after install.

Cheers,

M
[Nexus One Android Development] mobiousdigital:
IRC dude ;-)
[Nexus One Android Development] mtw4991:
Gotcha Mobious, thanks. Need to do a full wipe coming from 9/30 MIUI right?
[Nexus One Android Development] djmcnz:
Mirrored: http://djmcnz.batteryboss.org/MIUI/language/

Please advise the author that unsigned zips suck.
[Nexus One Android Development] flak0:
@dj did u notice the logcat command in adb or terminal is broken in this version ?
[Nexus One Android Development] djmcnz:
Nope, I don't use MIUI... :)
[Nexus One Android Development] mobiousdigital:
Yep mtw4991 ;-)
[Nexus One Android Development] mobiousdigital:
Works fine for me :-)
[Nexus One Android Development] Andrewtst:
Hi just like to know what you move or change as I notice after install this latest conversation it seems as well break the system updates check(I did put back manually). I get no updates when checking, previously it was ok. No a big deal as it is useless also. Just like to know what had been remove.
[Nexus One Android Development] mobiousdigital:
hi Andrew,

Removed Update.apk ages ago in Pack #2

The rest is there to see in my posts.
[Nexus One Android Development] mobiousdigital:
Vending.apk from latest gapps Crashes (log below)

Code moved to pastebin, see page 206!
[Nexus One Android Development] djmcnz:
Big logs = pastebin - http://pastebin.com/342HAmWp - :)

Did you run fix_permissions?

E/DatabaseUtils( 356): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=1576, uid=10037 requires com.google.android.providers.settings.permission.

Try chmod -R 0777 on /data/data/com.google.android.gsf

But I think this msg is pointing to something else... probably platform certs (=PITA) and tracking down "com.google.android.providers.settings"

I'm currently distracted... I need to think a little.
[Nexus One Android Development] mobiousdigital:
Sorry!

Yea fixed UID mismatches? yep.

Ok, will try this - my last contribution as got some snippy person insulting me earlier so I am stopping any future contributions.

No problem - thanks for this much help!
[Nexus One Android Development] stefanve:
Hello

here is a multilingual pack for 10.15, it has the desire build.prop, but that can easily be changed

Languages Pack Multilingual EN/CA/CS/DE/ES/FR/IT/PT/SE

http://xdaforums.com/showthread.php?t=792123
[Nexus One Android Development] cyberspaced:
We're all very sorry to hear that, but then again a lot of time put into this and little encuragement for you guys!! ;) But lets see what happends, take a break and enjoy life a bit, away from "wierd" asian mods..... ;) Not worth all the stress, all starting over friday anyways :p
[Nexus One Android Development] djmcnz:
Hello!!

:eek:
[Nexus One Android Development] mobiousdigital:
Oh I enjoy life cyberspaced, I really love helping people - what spoils it is when one person considers things "LAME" and doesn't care to help / contribute unless it suites their agenda.
[Nexus One Android Development] cyberspaced:
Well don't let one sad person ruin your day!! You did a lot of good work on this Rom and we all appreciate that, actually A BIG UNIVERSAL HUG AND THANKS to all who has contributed!!!:) :) :)
[Nexus One Android Development] kaobiore:
Does your german-translation include translations for calendar, contact, ... ? It's included on the translation-pack postet earlier.
[Nexus One Android Development] rodigezstyle:
sure that all lng are working correct ?
[Nexus One Android Development] djmcnz:
It's the name of this game bro... take it on the shoulder and know that those that matter realise you're doing good work.
[Nexus One Android Development] stefanve:
for the English part this is based on

http://xdaforums.com/show...postcount=2027

Thanks mobiousdigital, keep them coming :)

The rest is coming from the translation project, so if you like better translations for your languages, sign-up and help out :)

http://crowdin.net/project/miui-rom-translation/invite
[Nexus One Android Development] kaobiore:
So, they are missing ...
[Nexus One Android Development] stefanve:
just looked and contacts is translated, but calendar will be in English
[Nexus One Android Development] kaobiore:
The german update-package i've posted earlier includes translation for calendar, contact, camera and other apps. Browser and E-Mail (not google-mail) are still in english.
[Nexus One Android Development] djmcnz:
Mirrored: MIUI-0.10.15-multilingual-update-signed.zip

Some helpful reports would be good...
[Nexus One Android Development] djmcnz:
Did you upload your translations to crowdin.net?

You can upload whole files...
[Nexus One Android Development] mobiousdigital:
Thanks for comments, means a lot. Working to find Market problem at the moment - hopefully someone clever will come along with a good fix soon.
[Nexus One Android Development] salghith:
can you signed Arabic: (Post) Please
[Nexus One Android Development] kaobiore:
Reply to: http://xdaforums.com/showpost.php?p=8711655&postcount=2066

(Hit the wrong button).

No. It would overwrite most of the existing (german) translation. Most of the translations (german) on crowdin.net are "not that excellent" translated. BTW ... I wrate an app which tries to merge language files based on the "key". It's not perfect ... but gives good results.
[Nexus One Android Development] djmcnz:
Well... to be fair the only way to improve crowdin.net is to provide suggestions. I think your uploads will be treated as "suggestions" not "edits" so there should be no loss.

More than 10,000 translations so far...
[Nexus One Android Development] djmcnz:
I only have the xml, I need somebody to provide the apk's.
[Nexus One Android Development] stefanve:
I just created a new one baste on the 4th language pack from mobiousdigital

http://www.multiupload.com/95ZM7WQ70R

sorry ;)
[Nexus One Android Development] stefanve:
For some reason I can't get it to work with none Latin writing. If some one can tell me how to do it, I wouldn't mind to but in there the Korean Arabic Russian and Hebrew translations
[Nexus One Android Development] kaobiore:
I will share my files but I'm not going to update crowdin.net because it's NOT POSSIBLE to add THOUSANDS semi-generated strings to the that repo manually. The quality of the german translation in crowdin.net is not good ... my translation strings (or the most of them) are coming from the official froyo-repository.
[Nexus One Android Development] djmcnz:
lol - you guys needs to team up and juice up a system together...
[Nexus One Android Development] stefanve:
if you can post your translations in XML I can use these. but it would be better to have them on crowdin
[Nexus One Android Development] stefanve:
I made a small script that automatically translate the apk's only thing left to do is make it work with non Latin characters and plural and array translations. but those aren't on crowdin yet
[Nexus One Android Development] kaobiore:
I will post a download-link here later ...
[Nexus One Android Development] djmcnz:
Attach any unmodified source file here, using a unique and sensible name for each (with no delimiters/separators except caps), and I will upload them all to crowdin.
[Nexus One Android Development] kaobiore:
I need to ... what? to die? right. :)
[Nexus One Android Development] mobiousdigital:
guys,

I'm prepared to buy server space, do everything we can, we need to have some more contact with MIUI developers so we can be informed of up-and-coming UI / XML changes.

Things could be much improved, e.g. less random packs being kanged from others work. More structure to testing etc.

Let me know your thoughts.
[Nexus One Android Development] stefanve:
No thank you for your work :)

Maybe a data backup (Titanium Backup) from a working euro market would fix it?
[Nexus One Android Development] stefanve:
It's a pity they don't put in the translated files. I can imagine that they don't want the extra support overhead. maybe we can ask to do it any way, but let us (xda-developers) take care of the non Chinese support.

Would love to have OTA updates :)
[Nexus One Android Development] djmcnz:
Ich verstehe Sie nicht?

:confused:

Anyway, you can upload entire strings.xml to crowdin... they're already formatted correctly... :)
[Nexus One Android Development] djmcnz:
http://djmcnz.batteryboss.org/MIUI/language/MIUI-0.10.15-multilingual-pack-2-signed.zip
[Nexus One Android Development] stefanve:
aren't there a official translation for calendar/email etc, as they are stock android apps.

maybe we can use those apk's from any official android ROM. Or would that be a problem with the custom framework?
[Nexus One Android Development] kaobiore:
Yeah. You can upload the files if you like ... later. :eek:
[Nexus One Android Development] mobiousdigital:
@djmcnz

New log file for Market issue:

http://pastebin.com/Vi6vyhRx
[Nexus One Android Development] mobiousdigital:
Stock Google apps should really NOT be touched at all!
[Nexus One Android Development] stefanve:
to be more specific, putting the translations in the pack is no problem, but it will boot loop.
[Nexus One Android Development] stefanve:
why is that? this rom is based on Cyanogenmod so I can imagine Calendar email etc from Cyanogenmod working on MIUI as well

I'm not really into android ROM building/cooking etc to me it is just a OS :)
[Nexus One Android Development] mobiousdigital:
Because the langs in those do NOT need touched.
[Nexus One Android Development] djmcnz:
PM the guy that did the Russian pack, second post.
[Nexus One Android Development] stefanve:
for the non English speakers I think it would be handy to use the calendar etc from Cyanogenmod as MIUI is based on it. not the Gapps but the standard ones
[Nexus One Android Development] kaobiore:
german-update-pack V2 ... available here:

http://www.multiupload.com/2NLY92MZRX

(and ... it's a signed apk)

This update-pack contains german translations for:

Browser Calendar Camera Contacts ContactsProvider FileExplorer FM framework-res Gallery3D Launcher2 Mms Music Phone Settings Superuser

XML-files are here:

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

Have fun!
[Nexus One Android Development] MishFdM:
@djmcnz

I'm following this thread from the beginning, the title now is simply spectacular, I laughed for 15 minutes :D

BTW, thanks to you all guys for your hard work :)
[Nexus One Android Development] ctbear:
I'm quite positive that MIUI is not based on CM...AOSP maybe
[Nexus One Android Development] pakraider:
hmm.. on that note, aren't the MIUI devs obligated to provide their source code? sure, it's close to impossible to enforce that, but still.

then we could probably fix Facebook sync and Market issues once and for all! They seem to be nice guys; they reply to e-mails cordially and open sourced the FM bits, so maybe?
[Nexus One Android Development] rodigezstyle:
some parts are 100% CM6 nightly...
[Nexus One Android Development] PeRRiiN:
As much as I love MIUI, I still think its their choice if they want to open-source their code or not...or even collaborate with Cyanogen at that. This is THEIR project so we should be happy and grateful even if they don't want to open-source their code.
[Nexus One Android Development] cyberspaced:
Which parts are those?
[Nexus One Android Development] PeRRiiN:
I think what he meant to say was "some CM6 nightly parts are 100% MIUI..."

:D
[Nexus One Android Development] rodigezstyle:
haha maybe yes... sry i don´t remind which files exactly but i compared it at the start of MIUI and some apk´s,xml´s and other files are the same... maybe i´m wrong and they are stock Froyo files.. i don´t know
[Nexus One Android Development] cyberspaced:
Build,prop in multi language pack is for Desire and has FRF91 fingerprint! Anyone up for changing that and signing the pack.... :p
[Nexus One Android Development] BHy4ok:
Whether there will be Russian support?
[Nexus One Android Development] da_boo:
Signed rus pack

Signed by the pack MIUI 0.10.15 .... changes removed the sign in the status bar ... some will leave ... =)) http://www.megaupload.com/?d=OT7JHIK1
[Nexus One Android Development] stefanve:
Well they have a CM batch on there website :)
[Nexus One Android Development] xiutian:
Would appreciate it if someone could help me with this.

After flashing the rom, I do not see NetworkLocation in my list of Applications and am unable to get AGPS fix for Google Maps and widgets.

I have pushed the apk file to /system/app but it still does not show in my list of Applications.

Am I doing something wrong? Thanks in advance.

Edit: Scratch that...got it to work at last :-) Used another NetworkLocation.apk file
[Nexus One Android Development] mercuryzzz:
http://xdaforums.com/showpost.php?p=8712306&postcount=2085"

Someone tried this with italian language? Does it work good? Please let me know it :)
[Nexus One Android Development] mobiousdigital:
Without source code you can't really be sure :-)
[Nexus One Android Development] MishFdM:
I'm going to give it a try, stay tuned :)
[Nexus One Android Development] MishFdM:
I installed Multilingual Pack #2 for 0.10.15 and tried to use it with italian language. I needed to select Italian on MoreLocale2, after this I had a forced reboot and after this it worked correctly , some things should be fixed (some english words and some italian strange words) but after used many english MIUI versions this italian translation looks pretty good.

Still testing.

Thank to guys who worked on this :)
[Nexus One Android Development] kaobiore:
NEW GERMAN UPDATE-PACK AVAILABLE:

http://xdaforums.com/showpost.php?p=8740277&postcount=2198

german-update-pack V3 ... available here:

http://www.multiupload.com/GNT9VVJYX6

Fixed tons of missing translations. Almost 100% complete.

XML-Sources are here:

http://www.multiupload.com/2SPQPBOY0Y
[Nexus One Android Development] d750:
Thanks for Multilingual Pack
[Nexus One Android Development] MishFdM:
Multi-Lingual Pack - Italia test

Got some problems with notifications, I can't see it in the panel, whe I slide down from the notification bar. Also FC with Nimbuzz, for now.
[Nexus One Android Development] stefanve:
cool will put it in the next update
[Nexus One Android Development] stefanve:
I will look @ it , not all xml files on crowdin.net are formated in a way that android likes, I do some checks and transformations. but not all
[Nexus One Android Development] MishFdM:
Thanks a lot :) If you need feedbacks about it I'll be happy to help.
[Nexus One Android Development] cyberspaced:
Update friday, reworked ui
[Nexus One Android Development] mobiousdigital:
For those who can't figure out what the 3rd (right image is) its SMS group sending and category sorting options :-)

Icons will be changing and lockscreen UI.

Should be nice! I'll have a pack out Friday evening for ENG.
[Nexus One Android Development] stefanve:
Cool , looking forward to it

I love the new lock screen look