[Xfce-i18n] order switching in translation

Mike Massonnet mmassonnet at gmail.com
Mon Nov 10 16:56:16 CET 2008


Le Mon, 10 Nov 2008 17:20:20 +0200,
Samed Beyribey <ras0ir at eventualis.org> a écrit :

> Hello,
> 
> I've a question about order switching.
> I've followed the wiki, however i couldnt find anything related to the
> order switching.
> 
> for example,
> "%s/%s space left on %s (%s)" (from xfce4-fsguard-plugin)
> 
> the first %s/%s means free "space left" and the second %s (%s) means
> the "device" as i see in the example.
> 
> So, if i want to start sentence with describing the device, what
> should i do?
> 
> Regards,
> Samed.
> 

The chinese translation reverses the order for what I remember.  The
Daichi's guidance[0] is indeed missing the point for order switching.

Here is a quick example:
msgid "%s/%s space left on %s (%s)"

If you prefer to specify the drive first for your translation:
msgstr "The device $3%s ($4%s) has $1%s/$2%s space left"

You append the %<format> with a $<position>.

Regards
Mike



More information about the Xfce-i18n mailing list