Integration of a big patch from rene-marc dolhen <rmd_at_mecreant.org> to support internationalization with gettext.