[Xfce-i18n] printf and argument order
Peeter.Vois at proekspert.ee
Mon Sep 13 09:29:35 CEST 2004
I did read printf manual page of glibc and it describes how to use
different order of arguments in message than programmed. For example:
printf( " %d apples from %d are bad\n", i, n );
=> 2 apples from 10 are bad
and it will be possible to translate it like this:
printf( " from %2$d apples only %1$d are bad\n", i, n );
=> from 10 apples only 2 are bad
So, in the translation there are arguments swapped.
Will it be a problem in some today used systems (man page describes that
C99 does not support it)? Or, will it be a problem if such a trick is
used in translations?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xfce-i18n