amazfitbip / tools

GNU General Public License v2.0
126 stars 58 forks source link

How to add own translation? #7

Closed Tymcio closed 7 years ago

Tymcio commented 7 years ago

I would like to add Polish, could you briefly explain how to do it? :)

flippy12 commented 7 years ago

You can take a look at the readme, and at the files already created, to understand how it's organized. For your translation, you can start by downloading an existing file (like "zh-cn2en.txt.0.0.8.74") to see how it's structured. You will see that each line is finished by chinese_text|translated_text. translated_text is the result of your translation. The result of your translation will give the file zh-cn2po.txt.0.0.8.74 (I suppose that it's 'po' for Poland).

Tymcio commented 7 years ago

So I just translate this file and than I can commit it here ? I believe cn2pl will be for Polish (usually it's like this)

dpeddi commented 7 years ago

fork the repository do the changes you think we need, then do a pull request

On Mon, Sep 4, 2017 at 1:25 PM, Marcin notifications@github.com wrote:

So I just translate this file and than I can commit it here ? I believe cn2pl will be for Polish (usually it's like this)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/amazfitbip/tools/issues/7#issuecomment-326938856, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCVX9SEpSpuF8_mkHALlDvkBTNsRxcOks5se95CgaJpZM4PLURc .

Tymcio commented 7 years ago

Ok, great :) @dpeddi could you tell me how to make new .res and new .fw file, with PL translation inside? :)

dpeddi commented 7 years ago

Res2img -u

Or

res2img -u -a

res2img -p

You can add -i param as well with thw name of the res file

Il 05 set 2017 6:25 PM, "Marcin" notifications@github.com ha scritto:

Ok, great :) @dpeddi https://github.com/dpeddi could you tell me how to make new .res and new .fw file, with PL translation inside? :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/amazfitbip/tools/issues/7#issuecomment-327229451, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCVX52_zXxR15F22uuCwH6H5vt4Sbn3ks5sfXXrgaJpZM4PLURc .

Tymcio commented 7 years ago

Hmm, I have problem like this (https://scr.hu/GZOmRz) when I use .res and .fw file from here https://www.dropbox.com/s/bkbkndlv9tf3hol/fw00874.zip

dpeddi commented 7 years ago

Please consider that this tool is developed on linux os. However I should have fixed this issue on latest commit. You may still get errors if you don't have imagemagick on your path

(convert should be imagemagick one and no the "C:>convert /? Converts a FAT volume to NTFS.")