Gunnar, I cannot reproduce this in lucid or precise. I think your test case is wrong. You either need to export the LANGUAGE variable or prepend the command with it. Please reconfirm that you see the same results as previously reported here with
FWIW, in all cases I tested, the returned value was always the untranslated "myTestWord" string which does not seem right, either. But I'm not an expert with gettext at all.
Gunnar, I cannot reproduce this in lucid or precise. I think your test case is wrong. You either need to export the LANGUAGE variable or prepend the command with it. Please reconfirm that you see the same results as previously reported here with
$ LANGUAGE=de_DE gettext -d mytest myTestWord$'\n'
$ LANGUAGE=de gettext -d mytest myTestWord$'\n'
FWIW, in all cases I tested, the returned value was always the untranslated "myTestWord" string which does not seem right, either. But I'm not an expert with gettext at all.