On Wed, 2007-10-24 at 14:56:46 +0300, ext Marius Vollmer wrote:
> In general, we should try to reduce the need for context and
> complicated translations.  The classical example might:
> 
>    Searched in %d files and %d directories.
> 
> You will never be able to translate this nicely for all languages
> because of the wierd way they handle plurals, etc, and because of the
> combinatorial explosion.  A better way is:
> 
>    Number of files searched: %d
>    Number of directories searched: %d

That's what ngettext is for...

regards,
guillem
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to