yashsingh1/xdaforums huggingface dataset:
[Amazfit] heger:
Neuer_User has already answered you; ir doesn't really matter. But I think the chinese version is a bit cheaper than the pace version. At Gearbest.com the Chinese one is now for sale for 110 euros, the Pace version for 146,50 ( both free shipping). In the same time you can order some extra strap bands for the watch if you like :o. After receiving it you can easily partially change the language in English (see the posts of Immortal and / or YouTube), so most of it is readable, update (if necessary) the watch and install the temp or permanent ROM from Neuer_ User. Just a tip....:):)
[Amazfit] powerforward:
Thanks neuer_user and heger!

There are resllers here that have both CN and US version. The cn version is cheaper by $10 dollars.

Which version you guys have?
[Amazfit] Neuer_User:
Actually, I did a fast test release this evening :) If you want, you can test it. It is a temporary installation only.

To switch language to italian, please use the before mentioned commands (essentially setting "persist.sys.language en" and "persist.sys.country IT", and then rebooting into the temporary ROM again).

https://mega.nz/#!pYNSxAgB!mf62SYdpTvU7_m-ysh4xVO26_mfNCUgfz96Q83_TuvU
[Amazfit] martinh22:
Although I know that you do not have much time, but it would be nice if you were ranked in the remaining files rom Czech translation that I sent you, I would like to know what efforts remain not alone who would be interested thanks

I recorded it and even gitlab although not within the specified folders but do not have access there :)
[Amazfit] Neuer_User:
Thanks for your files. I will have a look at them on Friday. I need to know first if the new approach works, because if yes, I need to move all the files to a new location.
[Amazfit] brunnogama:
Hey man.

Is there any way to help to translate in brazilian portuguese?
[Amazfit] Pi3rluigi:
Tested.

At start up no FC, also if there were the previously saved tracks.

Sport App shows: Run,Walk,Run Indoor,Bike,Bike Indoor,Trial Run not translated but tapping on run or walk the message for searching gps is translated.

Activities,settings and medal is translated

Tomorrow morning will record a track, try to save and report

If you agree I can share the steps I followed so other members can test with their translated languages
[Amazfit] Neuer_User:
Hmm, is this missing some translation part or was that just never translated? Strange, that a part is translated and another not. What about the other apps? Are they correctly translated?
[Amazfit] Pi3rluigi:
No, it was translated in temporary you released on Monday.

All the other apps and setting are properly translated.

My thought is: let see if with other language (except En and It) the result is the same
[Amazfit] Neuer_User:
Hmm, I added some new 'improved' it translations from a contribution I got. Maybe something got lost there. Need to investigate a bit. But generally, it sounds as if we now have a way to include different languages without number format problems.
[Amazfit] Pi3rluigi:
If you like, I can check if were lost that strings, attach here the Sport App file

This morning I have record and saved a walk; no FC Sport app.

The changes you made solved the problem.

About missed translation we have to investigate.
[Amazfit] Neuer_User:
Very good to know. So, I probably can release working translations on the next weekend :)

Looking at the Italian translations they indeed currently look like this:

values-en-rIT/strings.xml: <string name="sport_widget_title_outdoor_riding">Bike</string>
values-en-rIT/strings.xml: <string name="sport_widget_title_indoor_riding">Bike Indoor</string>
values-en-rIT/strings.xml: <string name="sport_widget_title">Sports</string>
values-en-rIT/strings.xml: <string name="sport_widget_title_run">Run</string>
values-en-rIT/strings.xml: <string name="sport_widget_title_walk">Walk</string>
values-en-rIT/strings.xml: <string name="sport_widget_title_cross">Trail Run</string>
values-en-rIT/strings.xml: <string name="sport_widget_title_indoor_run">Run Indoor</string>
values-en-rIT/strings.xml: <string name="sport_widget_title_record">Attività</string>
values-en-rIT/strings.xml: <string name="sport_widget_title_achieve">Medaglie</string>
values-en-rIT/strings.xml: <string name="sport_widget_title_setting">Impostazioni</string>
values-en-rIT/strings.xml: <string name="sport_widget_title_music">Musica</string>

So, apparently the original translations got lost somewhere. I need to see if I find them again.

EDIT:

Found the culprit: It was the "improved" Italian translations I received.

I am a bit unsure, if I simply should fix the four or five missing translations, or completely revert the "improved IT translation" patch I got.

Can you comment on the remaining translations? Do they look ok? Or, ideally, even better than in the last release?
[Amazfit] heger:
I've got the Chinese version. Just a couple of days ago I installed the permanent ROM version 1.2.8. from Neuer_User. All is working as it should.
[Amazfit] Pi3rluigi:
If you used file from post #745 by [MENTION=5599497]N3OMOD[/MENTION], in changelog I found

WearSports:

- roll-back to english locale
- apparently none of the sport activity will start because the app can't find the correct name variable to launch.(https://xdaforums.com/showpost.php?p=70958560&postcount=678)
- current translation is about 10% from English and is an Alpha Version: we need to understand and identitfy which value, when translated, causes the error message "Unfortunately Sport has stopped"
- fixed translations too long
- fixed phrases that couldn't be trasnlated word-by-word
- introduced standard notation for BPM, Heart Rate or Heart Frequency, Distance and Time. Previous notations were too wide for the availabe fields.

Here it's were it comes partially translated!

This evening I will download and check the WearSport stings, update them.

Some strings from Training center are still in English, will check them too
[Amazfit] N3OMOD:
Sorry, that was an intuitive try before we discovered why Sports App was crashing with Italian translation. I will provide immediately the full translation
[Amazfit] Pi3rluigi:
Thanks

I noticed that also some strings from Training center are still in English, can you give them a look?

Inviato dal mio MI 5s utilizzando Tapatalk
[Amazfit] Cracklydisc:
In my italian hack i full translate Training center app replacing the cn files, but I have not found a way to add new languages in this app.

The translation files are ok but it is the translation system that does not work with that app!
[Amazfit] Pi3rluigi:
Mine is working, but not fully translated

Inviato dal mio MI 5s utilizzando Tapatalk
[Amazfit] N3OMOD:
Sure, I'm already preparing files for the merge request.

The Training App will require some more tricks, I'm going to take a look at that too.
[Amazfit] Neuer_User:
Please separate any "tricks" into a separate merge request from the simple translations changes. Then we can simpler test these "tricks" and choose what we can release next weekend.

Thanks for your contribution, as well as to all others that send me translations etc. (seems we are also getting a first draft of russian translations from [MENTION=2561885]silver-alx[/MENTION] :) )
[Amazfit] Cracklydisc:
The app has two translation files:

- res/values-it/strings.xml (this translation are the ones that you see in Italian)

- assets/train_plan_it/*.xml (these translations are not displayed because not loaded by system language)

The only way I found to translate this app is replace cn files.
[Amazfit] Neuer_User:
Addendum: If some "tricks" break other things, such as other translations (or even the English translation), I prefer to keep them out then. Rather have a couple of texts remain in English, than breaking functionality. (e.g. lockscreens often have hardcoded text references and thus can only be in one language).

Having said that, I think we can have most of the texts translated.
[Amazfit] Neuer_User:
Yes, this is one of the hardcoded text references. Unfortunately, this can only be changed if the code in the app is changed, which we are currently not doing (lots of work!!!!). I expect Xiaomi/Huami to fix this some day, as they also want to go to an international version one day.
[Amazfit] N3OMOD:
I Agree. Actually we can't "fight" against the hardcoded variables inside App Code. It would require too much effort and it would cause too much discrepancy regarding future upgrades of the same app coming from Xiaomi/Huami, thus leading an enormous amount of work to be done each time a new firmware is released.

Please beg my pardon, I was writing in a hurry and I used the wrong word among all the possible definitions I could have chosen from Italian-to-English. :) I don't mean to introduce any app-related code (i totally agree with what you said before) but I was referring exactly to this situation: if something is hard coded inside the application code then I will ignore it. If someone wants to play with his own version of fw I will be happy to assist in translating, but I wont bother [MENTION=2750664]Neuer_User[/MENTION] with "tricks" that require extra work and might work only until next CN-fw update.

I have learned the lesson, now each and every translation will be separated in a single merge request. So it will just be "one file at a time" ;)

I am working only on the graphical translation for those watch faces (standard and lockscreen) that simply uses a graphic file to display translated values (ex. week days and distance unit). All hardcoded references (es. the description of some fields in the customization interface) will be left as-it-is due to the previous considerations.
[Amazfit] Neuer_User:
It's a bit of magic to group the individual commits into sensible groups. E.g. if you fix the IT translations, e.g. only the missing translations that are simply forgot in the strings.xml or array.xml files and are thus easy to add with no tricks. And any "special changes" in a different merge request.

Thanks!
[Amazfit] N3OMOD:
I do understand perfectly, and I can’t thank you enough for all the hard work you did and are still doing!

This is exactly how I am going to do: keeping everything simple, well identified, and separated according to the entity and type of change. :)
[Amazfit] penguinunix:
I've created a small apk which you can install to keep the "new watch faces keep appear", basicly it's only removing standby mode, so android will prevent to standby and the new watch faces keep running. Don't know how it will affect battery life.

I've tried to create the apps to be run automatically in the background without any screen but it seem that I've run out time because I was exhausted :D

Any help would be appreciated.

If you want to try, download the apk, install it, run the APK PManager2, when blank page shown, slide the apps to left and go back to home.

Need help to run this apps when boots so you don't have to run it every time the device is rebooted.

https://mega.nz/#!5p5xQBhL!cvvokHaSJqTbckbXINXDExRX7wUvySnD7HIgp745-E0
[Amazfit] Cracklydisc:
Same idea that I had! We have to check the battery life!

Tonight I try the app.

If you put the sources at git I can try to help you :)
[Amazfit] penguinunix:
I was sleepy atm, and need a rest, forgot how to upload to github, will upload tommorow and let you know. If can add lockscreen so prevent accidental sweep on the screen it would be great. The watchface still not appear if you lock it with lock key (small button on the watch, the only button), otherwise you can see the watch face animated which is very cool to me.

I've upload the file at mega so you can check, it's very dirty code you may want to clean it up :laugh: :laugh:

https://mega.nz/#!B5BFBKiJ!aIpmhXuptWmp_HXZ4MkMlPbAgecJ8s9BNWiYCfQ2iqQ
[Amazfit] JackStrong:
language change

I have just download EN version and changed sucesfully UoM imperial on metric - Thanks, Great job !!!

As for polish language it's nice however some functions are off e.g. "Settings" "Activities". Let me know if I can help translating. Adrian
[Amazfit] jmnuit:
Done the transformation from Chinese to 1.3 US then now PACEfied in 1.2.8 permanent without a problem !

Great job guys, I can not thanks you enough for your work and explanations !
[Amazfit] Cracklydisc:
https://mega.nz/#!DMA2iBgJ!bR7nrTri7mRljlwCkQVIhdKIVD4FoQ3DmyadS4Bf4bo

I haven't had much time to work but I made these changes:

- Added graphical interface to enable or disable the loockscreen

- Save the configuration on restart

- Automatic start after a reboot

- Code cleanup (not complete)

Tomorrow I thought to add the lockscreen if you do not want to do.

I haven't loaded the project on git because I didn't understand if it was all right for you!

If you agree you can upload it or if you have problems I can too :)

I let the watch switched on all the night to check the battery drain, tomorrow i report result!
[Amazfit] penguinunix:
It's ok, just upload the files on the github and let others help to develop, just keep the credit LoL. Battery drain faster :D, about 50% in 6 hours, need better way to keep the screen without draining the battery fast!

Great work for adding those features! :good:

I think I will working out to make some usefull apps, like fitness tracking etc :D
[Amazfit] OrangeView:
Sorry for asking but somehow I get lost.

I bought the CH version of Amazefit then I transformed it to 1.30.n but no update sofar (I have installed this firmware1.3.0n at December). Is there a way to update my watch to the latest EN version? And what version is the latest one?
[Amazfit] Neuer_User:
The latest official english version is 1.3.0n. There has been no update yet.

You can either wait longer for the official update that was announced a couple of weeks ago, or you install PACEfied, which is based on the Chinese firmware.
[Amazfit] Lobod:
On PL translation: "Sporty was stopped" When I picked any activity or statistics.
[Amazfit] Pi3rluigi:
It should be fixed next release for every translated languages!

Inviato dal mio MI 5s utilizzando Tapatalk
[Amazfit] vrtk:
I have a problem

after i push the file to sdcard and I want to do update the adb not know where is a file..

that what I do....

D:\Computer software HDD\Minimal ADB and Fastboot>adb push update.zip /sdcard/

[100%] /sdcard/ (This will take several minutes.)

D:\Computer software HDD\Minimal ADB and Fastboot>adb push recovery.img /sdcard/

[100%] /sdcard/recovery.img

D:\Computer software HDD\Minimal ADB and Fastboot>adb push start_update.sh /sdcard/

[100%] /sdcard/start_update.sh

D:\Computer software HDD\Minimal ADB and Fastboot>adb push md5s.txt /sdcard/

[100%] /sdcard/md5s.txt

D:\Computer software HDD\Minimal ADB and Fastboot>adb shell

root@watch:/ # cd/sdcard/; sh start_update.sh

/system/bin/sh: cd/sdcard/: not found

sh: start_update.sh: No such file or directory

127|root@watch:/ #

Can anyone help me please?

Thank you:)
[Amazfit] Pi3rluigi:
First command line cd/sdcard

After sh....

Inviato dal mio MI 5s utilizzando Tapatalk
[Amazfit] 5tormChild:
There should be a space between cd and /sdcard/, so it should look like this:

cd /sdcard/; sh start_update.sh
[Amazfit] kukoo86:
Neuer_User,

I uploaded the xmls and images translated in spanish

https://gitlab.com/Neuer_User/PACEfied_AmazFit/issues/12#note_24097958

That's OK?
[Amazfit] vrtk:
Thank you very much:)

It seems that it is going to work ...

Thanks for the quick reply

I am a newcomer and fun to know that such help :)

:cool:
[Amazfit] Neuer_User:
New update 1.2.9 from Huami is out:

Update log
- add riding mode add "accumulated downhill elevation"
- optimize system status menu
- optimize notification icon display
- repair iOS some situation can not be received To the question of the notification
- fix the problem of repeatedly downloading the motion data
- fix the heart rate history data does not show the problem
- fix some bugs

Gonna work on it now.
[Amazfit] Cracklydisc:
Can you give me the link to download chinese change log? thank you! :)
[Amazfit] martinh22:
Just make sure all languages :D:D:D
[Amazfit] Neuer_User:
https://api-watch.huami.com/devices/WATCH/hasNewVersion?sensorType=ECG&country=CN&appVersion=1.0&userId=1234567890&lang=zh_CN&sensorVersion=ALL&firmwareVersion=huanghe-1.2.8&appName=com.huami.watch&deviceVersion=Amazfit%20Sports Watch
[Amazfit] Neuer_User:
They have changed some of the structure. I fear, I need to do some more testing this time. Might well be that this breaks something here and there.

I especially hate this:

priv-app/SettingsProvider/res/values-zh-rCN/bools.xml
priv-app/SettingsProvider/res/values-zh-rCN/fractions.xml
priv-app/SettingsProvider/res/values-zh-rCN/integers.xml

This is EXTREMELY bad practice. They add files ONLY to region specific directories. That is completely wrong. Good Android programming practise clearly states, you MUST have default values in "values". Never only have values defined only for specific regions.

Hmm, I probably just copy them over to the default folder. But this makes it much more difficult to maintain this,
[Amazfit] Pi3rluigi:
Or maybe they are trying to make the translation harder!

Inviato dal mio MI 5s utilizzando Tapatalk
[Amazfit] dieterhaack:
I hope I did not miss the answer in this thread. When I change "adb shell setprop persist.sys.language en" to "adb shell setprop persist.sys.language de-de", will the watch show texts in German?
[Amazfit] Neuer_User:
No. There is so far no German translation contributed.
[Amazfit] stefan2008v:
FW 1.2.9 was released
[Amazfit] Neuer_User:
Thanks for the info. I guess it was well meant.

The last 10 posts go about 1.2.9. :D
[Amazfit] don_kamil:
I have a noob's question (it's my first smartwatch).

Today I get Amazfit A1602. Now I have version 1.2.9. Can I flash this PACEfied ROM?
[Amazfit] ansabe:
Can anyone give me link to download official room CN version ???

Thank you . . . .
[Amazfit] Pi3rluigi:
According to what has been said by Never_User , something has been changed on system structure, so better to wait he release new one

Inviato dal mio MI 5s utilizzando Tapatalk
[Amazfit] Neuer_User:
I actually think they are trying to add English language. E.g. WeeklySports now got an English translation. But not everything is done well. Probably party due to the weekly release cycle.
[Amazfit] Pi3rluigi:
So, if Huami follows Xiaomi's "philosophy" Cn is developer and Us is stable ROM.

We are beta tester, and you Huami developer!

Add a PayPal button, maybe they will offer you a beer![emoji2] [emoji2] (as all of us would do)

Inviato dal mio MI 5s utilizzando Tapatalk
[Amazfit] don_kamil:
So I have to wait.

It's not bad, most of ROM is in english.

Wysłane z mojego MI 4S przy użyciu Tapatalka
[Amazfit] Neuer_User:
PACEfied AmazFit rel 4 (1.2.9) permanent install released

I have just released PACEfied release 4 (1.2.9) permanent install (either full install or update from release 3).

CHANGELOG:

Released 2017-02-24

rebased on Chinese firmware huanghe-1.2.9

BETA: neu structure for custom translations, should fix SportsApp FC

I have decided to not include all the contributions I got today or yesterday. Instead I wanted to release this as soon as possible, so people can test, if the other translations now work without problems in Sports App.

Next release will then add more languages and translations fixes I got.

Please read the FAQ. The procedure to change the language has changed!
[Amazfit] don_kamil:
If I good understand, if I have 1.2.9 version (and want pernament version), I have to:

make root - " in case you are running an original firmware (US or CN version), you need to download this file https://mega.nz/#!wd1iBBBY!e4jKYeUcH...NTrzrwPuooHc6Q and follow the included instructions."

and make the other steps from version 2?
[Amazfit] Pi3rluigi:
Yes, follow instructions for permanent install

Push files

Gain root

And go on

Inviato dal mio MI 5s utilizzando Tapatalk
[Amazfit] Victordiazbis:
Really quick this time!

For the moment I still prefer the additional safety that temporary rom offers. Can't wait for it!!!!
[Amazfit] martinh22:
I would add to the manual installation even though it says here show how to change the language of IT, PL etc. at home and it would be nice :)

At the same time I'd also add a change of location "region" in order to function correctly sports app
[Amazfit] Kaudii:
It's nice that a new version is definitely better visual texts do not overlap. Applications Sports works for me ok, just a pity that it is still in the ROM version is v1 Polish translations and on Gitlab is already several hours v4 compliant with v 1.2.9, despite rebuild all files and improve the vast majority of translations still can not see them, do not I know that I still need to work on something that is all about. If possible, please version with Polish v4 files which will allow me to continue working on their optimization
[Amazfit] Neuer_User:
It is a lot of work to prepare a new rom. I need to:

download the official update files

extract the last official ROM

apply all changes from the update file

prepare the new offcial ROM

then decompile all apks

apply my modifications

add any new contributions I got (and often fix them, as they often have bugs that do not compile)

recompile all apks

build the new PACEfied ROM

generate full installation update.zip, recovery zip and md5s

generate incremental update zip

test on my development watch

if successful, then test on my own watch

upload files on file share (mega)

upload all decompiled and modified files to GitLab repo

update the first post with new links, the second post with changelog and the third post with new FAQs

And I do not do this as my full time job. I can only spend a certain amount of hours on this (today 4 hours). So, yes, it can happen and will happen that I cannot integrate, verify, correct and add some contributions that I got at the same day. I will, however, add them for sure to the next release.
[Amazfit] Kaudii:
I understand the magnitude of the work that needs to be done in the creation, but a version of v2, v3 are already gilab a long time, I wrote to you a message on XDA forum and all unanswered, also working on the translation of outside work, such 'extra job and devote it your time, often at the expense of other things that I should do, but I do it because I like it, because I want to and others to use it, but it would be nice if on a date to be able to track the results of their work and be able to improve that what is still possible to make it the best. I know that you were on holiday with family and rightly so, but I've waited three weeks for the opportunity to check the amendments introduced, no offense but all the time you write that in the next release but still nothing, I still have to wait. If I was a programmer that I would have the same he thought how to deal with it, but I'm not, and so my options are limited.

Regards
[Amazfit] 1immortal:
[MENTION=1784538]Kaudii[/MENTION] , as you wrote, everybody is doing this in their free time for the community to use, you can't "demand" some specific changes or modifications to be added. You have provided a resolution for an issue, and it will be implemented, but the developer, [MENTION=2750664]Neuer_User[/MENTION] , is not obligated to any of us to do some or other changes, and due to the vast changes made every week by Huami, he have to deal with a lot of new stuff.

Please be patient and understand that the scope of changes and work here is large, and sometimes some additions and changes are more "important" than others.
[Amazfit] Neuer_User:
Actually, I can understand you. I just had a look at your latest contribution and it looks really well done. I will try to do an interims release Sunday or Monday, if I manage that.