[pyddr-discuss] gettext support

Pavel N. Krivitsky pavel at krivitsky.name
Sun Feb 3 19:15:21 EST 2008


Carles,

Glad to hear pydance is working for you. The main developer had moved on
to other projects, so I've kind of taken over by default, and the
development has been a bit slow, but there are some new features in the
development version*, and one of these days, I'll put together the next
release.

> We missed something: a translation to Catalan. I looked on the code and
> I have not seen gettext (or other systems) support. I have read some
> documentation and even the loooong TODO list and I have not found it.
> 
> The question is: pydance hasn't gettext support because you have been
> doing other things or because you thought and dismiss for some reason.

Just doing other things. We've talked about it before (in the IRC
channel), but never got around to it.

> Since we are interested on it, and I code in Python often, we would be
> interested to add and we would work on it.

Such a feature would be very welcome, as long as it doesn't clutter
things up or slow things down too much. Some notes:
- Class TextDisplay can adjust font size to have the text (whatever it
is) fit into a box of specified size; this should be useful, since
different languages would have strings of different lengths.
- Most of the text is "implemented" as strings which are rendered as
needed, but some (particularly the "Ready?" "Go!" text that pops up in
the beginning of the song) are pre-rendered images. I don't know whether
those can be internationalized, and how.
- A recent commit to the development version* changed the default font
to one that implements more of the Unicode characters (whether we are
going to ship it with pydance, or make it a dependency is still
undecided). This should make it possible to internationalize to
non-Indo-European languages as well.

                        Best,
                        Pavel Krivitsky

* --- Subversion repository at
http://kai.vm.bytemark.co.uk/svn/pydance/trunk/pydance
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://icculus.org/pipermail/pyddr-discuss/attachments/20080203/fd322007/attachment.pgp>


More information about the pyddr-discuss mailing list