On Wed, 22 Jul 2009 at 10:32PM -0700, William Stein wrote:
> On Wed, Jul 22, 2009 at 2:03 AM, Sergey Semerikov<semeri...@gmail.com> wrote:
> >
> > I tried to translate the interface of the notebook using gettext and
> > faced with the need to make several changes to the source code:
> 
> Thanks for working on this!!
> 
> (1) What is gettext?  I've never heard of it?

My (vastly incomplete) understanding is that gettext makes string
translations easy. You write your program so that instead of just
printing something, it calls a string-printing function. That function
knows what language should be used, so it looks up the right string and
prints that. It makes it easy for people to contribute translations; you
have a list of strings, probably in a "base" language (for us, that'd be
English) and it's easy for someone to get that list, translate
everything into some new language, and we just ship that along with our
code.

I would *love* to have better support for this.

Dan

-- 
---  Dan Drake <dr...@kaist.edu>
-----  KAIST Department of Mathematical Sciences
-------  http://mathsci.kaist.ac.kr/~drake

Attachment: signature.asc
Description: Digital signature

Reply via email to