Lübbe Onken | RA Consulting wrote:
> Hi Stefan,
>
> We wrote:
>>> ... Is there a chance to number the parameters and pick the
>>> correct one in the formatting string, like:
>>>
>>> English: "The last %0:s operation tried to %1:s the %2:s '%3:s'"
>>> German: "Die letzte %0:s Operation versuchte %2:s die %1:s
>>> '%3:s'"
>>>
>>> This would allow the translator to put the noun and verb in the
>>> correct order again in German and other languages.
>>>
>>> At least in Delphi I can do (and use) this regularly for my
>>> localisation.
>> I've changed the strings in r14576, it should be much better now
>> for translating.
>
> I understand why you chose parameters to reduce the number of
> strings. :)
>
> It's of course much easier to translate now. Just out of interest. Is
> there no chance to give the parameters an order in C? It would
> sometimes really be necessary to reorder parameters in translation. I
> think I saw some funny phrases in the Turkish translation because of
> this forced order of parameters.
It depends on the formatting function used. The standard formatting
function don't support such params, but there's a Windows API that does.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2008-11-11 18:49:43 CET