![]() |
eSpeakTime german localization
1 Attachment(s)
Hello folks,
i was so excited by the app eSpeakTime that i made a german localization. I edited the file /usr/bin/espeaktime-now.sh by adding the following lines: Code:
if [ $(echo $LC_MESSAGES) == "de_DE" ]; thenI also attached the complete file (don't forget to rename if from .txt to .sh) |
Re: eSpeakTime german localization
Just a quick hint: You can get the minutes with the leading 0s stripped using '%-M'.
|
Re: eSpeakTime german localization
Quote:
Thanks for that, good point. So now it will look like this: Code:
if [ $(echo $LC_MESSAGES) == "de_DE" ]; then |
Großartig!!
I always wanted such a feature for my cellphones! Is it possible to change the voice (volume,pitch, etc) with that file?
Also it would be great if the media player would be paused while espeak is speaking. |
Re: eSpeakTime german localization
Hi! could anyone be kind to write the commands for xterm for copying the espeaktime-now.sh from /usr/bin/espeaktime-now.sh to /home/user/MyDocs? Thank you!
|
Re: eSpeakTime german localization
I assume that for romanian this sequence: if [ $(echo $LC_MESSAGES) == "de_DE" will be f [ $(echo $LC_MESSAGES) == "ro_RO". Wright?
|
Re: eSpeakTime german localization
Quote:
The way cp works is: cp folder/file you want to copy destination (and note if it has spaces in the filename you will need to surround it with quotation marks like "Program Files" TARGET So for what you asked for it would be.. Code:
cp /usr/bin/espeaktime-now.sh /home/user/MyDocsHint you can press tab to have xterm auto complete paths for you. So instead of typing out espeak time, you can type in esp and press tab to get the rest. |
Re: eSpeakTime german localization
i still don't get it. i renamed the atached file to espeaktime-now.sh and i used the command cp /home/user/MyDocs/espeaktime-now.sh /usr/bin/ to copy it to the location and the hour is still played in english.
i tryed another method: i deleted the file espeaktime-now.sh from /usr/bin and added the new one and the result is that the hour is not played at all. what I did wrong? how to make this work? |
Re: eSpeakTime german localization
Quote:
i'dont know if ro_RO is right. To find that out type "echo $LC_MESSAGES" into xterm. |
Re: eSpeakTime german localization
i get it now. this depends to the phone language not to espeak languages! i guess the file made by trurl works only if the language of the phone is set to german!
unfortunately there isn't romanian localization for maemo. I ofer myself to make the translation but I don't know how or what programs to use. Anyone? who can help me to make romanian localiation for n900? any skilled developers? |
| All times are GMT. The time now is 14:14. |
vBulletin® Version 3.8.8