Re: internationalization
Dumas Patrice <[email protected]> Mon, 8 Sep 2003 17:01:01 +0200
| Newsgroups | gmane.comp.tex.texi2html.devel |
|---|---|
| Message-ID | <[email protected]> |
I respond to myself to say 2 things. First thanks to Adrian and Derek, you gave me the ideas about using Data::Dumper to ease the automatic updating of translation files. Now there is something I forgot, it is to explain why I think we shouldn't use gettext for translation of strings in document generation. First the scheme I made was greatly influenced by gettext. But I think that gettext is better suited for translation of messages depending on the locale defined when the program is run. This is not our case. We want to change the outputted html independantly of the locales, but with @documentlanguage or -lang. Thus we don't need something very sophisticated. I think that we still could use gettext to translate the messages coming from texi2html, but for document strings I think that the scheme I did is enough. Pat