Re: Re: Console_CommandLine messages XML

From: Date: Fri, 19 Jun 2009 04:50:08 +0000
Subject: Re: Re: Console_CommandLine messages XML
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-51994@lists.php.net to get a copy of this message
Hi David and Michael, > > <message name="ARGUMENT_REQUIRED">You must provide at least > > {$argnum} argument{$plural}.</message> Here you expect all languages to follow the same plurality rules as English - an 's' or whatever character somewhere as extension to an existing word. In German, some words are completely different in singular and plural - you'd have to replace the whole word, not only an extension. Something alike ngettext() does it better. -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.dev (#51994) next »