[Ocaml-i18n] proposal: message catalogue system
Richard Jones
rich at annexia.org
Fri Dec 5 06:02:17 PST 2003
On Fri, Dec 05, 2003 at 01:57:20PM +0000, Richard Jones wrote:
> On one very large website that I worked on (in Perl), we translated
> the whole site using just gettext into 7 languages (including Thai and
> Arabic [right-to-left]).
I forget to mention that we did modify gettext to support
placeholders. Thus you could write (in Perl):
_("Number of messages in ::folder:: : ::n::", folder => $foldername,
n => $nr_messages)
or something similar.
The problem with this was that the external translators would end up
translating ::folder::, so we started to use single letters like ::f:: !
Rich.
--
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
"One serious obstacle to the adoption of good programming languages is
the notion that everything has to be sacrificed for speed. In computer
languages as in life, speed kills." -- Mike Vanier
More information about the Ocaml-i18n
mailing list