Active Topics

 


Reply
Thread Tools
Posts: 111 | Thanked: 31 times | Joined on May 2007
#1
Hi there.

If your city propose some rent a bike service such as the Paris Velib' one, you may be interested in the following project (pygtk):

http://sayhoo.garage.maemo.org/

(The svn tree is available in the garage usual place).

If this is not the case, but you are fluent in gettext stuff or gstreamer , you may still enlight me :-)

I have several problems i do not know how to solve.

* gettext

Some sentences are not being recognised by gettext.
I generate po file with:

xgettext -L python ../src/sayhoo -o tmp.pot

And then, I merge the newly tmp.pot file with the existing fr.po with:

msgmerge fr.po tmp.pot >fr.pot

The mo file is made with:

msgfmt.py -o ./mo/fr_FR/sayhoo.mo fr.po

All this is manually done. When the application runs, some sentences are not being translated. It seems like the problematic sentences are associated with a "fuzzy" comment in the pot file, so i guess the problem is related to msgmerge, but have no more clue than that.

* text to speach.

I try to use gstreamer to play the standard output generated by espeak without success. I'm workarounding the problem by using mplayer. Any exemple of python code that would feed wav generated in the standard output of an application to an audio sink that works on the tablet would be appreciated.
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:08.