2

I have a translation question but I am asking it here because I think it needs technical understanding.

In order to translate a program to German, I have this line in the .po file:

#, c-format
msgid "Unable to stat %s\n"
msgstr ""

What does this mean and how would I say it in German?

haheute
  • 2,129
  • 3
  • 32
  • 49
  • Use Google translate. This has nothing to do with programming. – Koby Douek Mar 08 '17 at 13:06
  • @KobyDouek This is a highly technical usage, I doubt (and a quick attempt proved me right) that Google will get the context here. – unwind Mar 08 '17 at 13:07
  • 1
    stat auf %s konnte nicht ausgeführt werden – Holger Mar 08 '17 at 13:09
  • 1
    A technicalĺy savvy user will understand the english term, all others will not know what to do with the message anyway... If you want to express, that a file was not found, say "File %s not found" on -ENOENT, or "Permission denied on file %s" on -EPERM etc. pp. – Ctx Mar 08 '17 at 13:33

1 Answers1

1

Here stat is a reference to the POSIX standard call of that name, stat(2).

Perhaps you can take some clue from the manual page's description, the brief one is "get file status".

My German is waaaay too rusty to suggest a translation, but inserting it into the English would give "Unable to get file status (stat) %s\n" (I kept the original "stat" phrase since it's highly-detailed technical information and might be useful).

You could of course not try to work around the function name, and instead just say "The stat() function failed for %s", it's the use of the funtion name as a verb which makes it harder to translate, I think.

unwind
  • 391,730
  • 64
  • 469
  • 606