-
Notifications
You must be signed in to change notification settings - Fork 6
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
Simplify spoken clock translation #14
Comments
Hello Quozl, please take a look at this :) I have simplified the clock translation by:
Please let me know how this is, thank you so much!
|
@EmilyOng, thanks. From discussion in #11 the intention was to substantially simplify both what is spoken and how it appears in the source code so that translators will engage using their limited tools. They don't want to have to change source files, only |
What needs to happen is to eliminate this very ugly string entry which requires insertion of all sorts of markup https://translate.sugarlabs.org/en/Clock/translate/#filter=all&unit=960927 Basically, this needs to abandon a rotary clcck face for a digital clock readout. |
Thanks @leonardcj, there are two issues then;
The HTML markup is for text colouring to match the colour of the clock hands or digits, and might be moved out of the translatable string and into the source code. This will also slightly reduce the length. The length of the entry can be further reduced by one or more of the following;
I don't think the clock face needs to change, just the way it is spoken or described by text. @EmilyOng, you might also look around for Python library or source code that speaks a time of day; we might accept it if it has good code quality, good license, and internationalisation support using gettext. |
Thanks!
- [x] removing the nearly duplicate hour1 rules and instead calculate them from the hour rules
- [x] simplifying the rules
…On Wed, 13 Dec 2017 at 09:43, James Cameron ***@***.***> wrote:
Thanks @leonardcj <https://github.com/leonardcj>, there are two issues
then;
- the HTML markup, and;
- the length of the entry.
The HTML markup is for text colouring to match the colour of the clock
hands or digits, and might be moved out of the translatable string and into
the source code. This will also slightly reduce the length.
The length of the entry can be further reduced by one or more of the
following;
- removing the nearly duplicate hour1 rules and instead calculate them
from the hour rules,
- switching to smaller keywords, such as h instead of hour,
- simplifying the rules as @EmilyOng <https://github.com/emilyong> has
done.
I don't think the clock face needs to change, just the way it is spoken or
described by text.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AUN_KZSrXABLLNZxjhlQay_C0o8xaQIaks5s_yu0gaJpZM4NpzXc>
.
|
@leonarcj, this is now complete, please test. Final |
#11 ended with an agreement to change the spoken time to avoid difficult to translate strings; in particular to speak the hour and minute literally, as in "eleven forty-five".
The text was updated successfully, but these errors were encountered: