[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Parser messages lng
- From: Rob Kendrick <lua-l@...>
- Date: Sun, 11 Sep 2005 16:12:14 +0100
On Sun, 2005-09-11 at 10:52 -0300, Luiz Henrique de Figueiredo wrote:
> > I think it's helpful to have all parser error messages in extern file
> > for different languages and added to compilation via defines. Is it
> > hard to release?
>
> Support for messages in different languages is not simple because the
> position of the varying parts may be different in different languages.
> See GNU gettext for a tates of how hard this can be.
On a semi-related note, I noticed this problem too, and wrote my own
internationalisation library for a program I was working on at the time:
http://trac.rjek.com/index.cgi/file/colloquy/src/i18n.lua
I think it's pretty much over the top in every respect, although it's
not quite what I want yet.
--
Rob Kendrick <lua-l@nun.org.uk>