Re: Word order in translation

From: Pierre Abbat (phma@webjockey.net)
Date: Mon Mar 04 2002 - 13:49:10 GMT

  • Next message: Rui Miguel Seabra: "Re: Word order in translation"

    On Monday 04 March 2002 05:06, Rui Miguel Seabra wrote:
    > On Mon, 2002-03-04 at 01:47, Pierre Abbat wrote:
    > > The problem is that in the English, %s precedes %d. Is there any way to
    > > handle such word order differences?
    >
    > If it is using a derivate of printf (which I am presuming), then no.
    > printf(format, variables...)
    > so: printf("bla bla %s ble ble %d blu blu", string, integer);
    >
    > Changing to
    > printf("bla bla %d ble ble %s blu blu", string, integer);
    >
    > will result pretty badly!
    >
    > Btw, am I right in presuming we do this?
    > Can there not be dramatic bugs if someone tampers the strings files?
    > Are this strings sanitized before being fed as a format?

    I got a reply explaining how to do it. I'll try it, if someone can explain
    how to get Abi to use a language for which I don't have an installed locale.

    phma



    This archive was generated by hypermail 2.1.4 : Mon Mar 04 2002 - 08:54:45 GMT