-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Too long translation #11
Comments
And so? Thy to short that line. On your file you should see some line with # simbol. You should make them shorter. |
Ok, I found what is the problem ;) |
Should be 4 bytes. 1 unicode = 2 bytes.
Il 05 set 2017 11:41 AM, "Marcin" <notifications@github.com> ha scritto:
… Ok, I found what is the problem ;)
In Chinese word "Bike" is "騎行" = 2 characters. That why 99% of our
translation will be too long.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABCVXy0v06hv2jr3jlp-45XyYCC--LRTks5sfRdhgaJpZM4PMq0C>
.
|
@dpeddi so how should you suggest to solve this? :) |
1 ZH-CN SYMBOL = 3 BYTES |
@Tymcio Hi, the problem is that you use special polish characters, like ł in "Długie przyc". ł = 2 BYTES and the lenght of string "Długie przyc" is 13 BYTES but the length of chinese "長按按鍵" is 12 BYTES. Try to replace this characters ł -> l |
@winni159 the problem still appears :) As the code isn't checking the bytes, but characters:
|
The problem isn't in the code but in your translation: |
But as I said - English translation gives errors as well, and it's working :)
Pozdrawiam serdecznie,
Marcin Tymków
On 05.09.2017 17:19:58, dpeddi <notifications@github.com> napisał/a:
The problem isn't in the code but in your translation:
1- It seems the Bip doesn't support special character so probably ł will become [?] on your watch .
2- Due to binary patching your translation MUST fit the width of the original chinese string
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [#11 (comment)], or mute the thread [https://github.com/notifications/unsubscribe-auth/ABz6v5c9QndmzxbV4tdFQrf3_Y3pmRaAks5sfWadgaJpZM4PMq0C].
|
Are you sure about it? ./zh-check_translation.py -i zh-cn2en.txt.0.0.8.74 try to start the tool with: the original file will be rewritten with "#" in front of translation fo fix. As you can see you need to short your translation |
Ok :) I did 2nd code and now rewriting translation, thanks! :) |
And now all is working ok :) |
When I am checking length of translation (en, pl) it shows me, that it's too long.
https://scr.hu/d5Gkpn
The text was updated successfully, but these errors were encountered: