[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Localisation, parameter issues

From: Lübbe Onken | RA Consulting <l.onken_at_rac.de>
Date: Mon, 10 Nov 2008 10:03:47 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Steve,

I just took a shot at translating the latest resource changes. If I understand it correctly, you are passing parameters like "file" or "folder" into strings like "Keep the %s from the repository".

The problem for translators now is that the article should be part of the parameter, because file and folder have (at least in German) different articles :)

Probably the same for strings like: "The last %s operation tried to %s the %s '%s', but it already exists unversioned locally." and the parameters "add", "delete", ....

In this case I see two problems:
1) I can not be sure, but I assume that I have to translate "add" with "hinzuzufügen" instead of "hinzufügen" to get a meaningful sentence.

And (bigger problem):
2) To get a proper German sentence again, some of the parameters should be swapped

English: The last %s operation tried to #add# the #files# '%s'
German: Die letzte %s Operation versuchte #hinzu(zu)fügen# die #Dateien# '%s'

- From a Germans point of view with a little sense for language, this is unacceptable. 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.

Cheers
- - Lübbe

- --
       ___
  oo // \\ "De Chelonian Mobile"
 (_,\/ \_/ \ TortoiseSVN
   \ \_/_\_/> The coolest Interface to (Sub)Version Control
   /_/ \_\ http://tortoisesvn.net PGP Key ID 0x23F511AB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFJF/jxm8gezyP1EasRAopGAJ9qZdUkIi9ulF71+gNUdHT/AvX5pQCfRBq5
/auijHtZV9R18l1qMOz+Mw8=
=srtV
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-11-10 10:03:57 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.