Problem with Translations

Christian Krause chkr@plauener.de
23 Jun 2001 17:31:10 +0200


Hi,

After setting LANG=de_DE only some parts of gnucash (1.6.0) are
translated in german.

translated: Dialogs, Reports-Menu and other
not translated: Menu (File, Tools, Account ...), Buttons (Save, Close,
... (when display both, text and icon, or only text))

e.g. the menu "Settings": in de.po is the correct translation:
#: src/gnome/window-main.c:1068
msgid "_Settings"
msgstr "_Einstellungen"

but in src/gnome/window-main.c:
GNOMEUIINFO_SUBTREE(N_("_Settings"), gnc_settings_menu_template),
                    ^^
                    this is defined in src/messages.h
                    #define N_(String) (String)

I don't understand, how this construct should work.

It seems, that all strings using this N_(" ... ") construct aren't
translated even there is a translation for these strings in the .po file.

Is this a bug?



christian