M. Bashir Al-Noimi wrote:
I'm using Gettext, so I tried to use this command line for extracting texts, but it failed!
c:\inkscape\po>xgettext -f "c:\inkscape\po\POTFILES.in" xgettext: warning: file `[encoding: UTF-8]' extension `' is unknown; will try C xgettext: error while opening "[encoding: UTF-8]" for reading: Invalid argument
to fix this problem I tried to comment the following lines in POTFILES.in
#[encoding: UTF-8] #inkscape.desktop.in
but another time I faced the following error message with gettext
xgettext: warning: file `[type: gettext/xml] share/extensions/addnodes.inx' extension `inx' is unknown; will try C xgettext: error while opening "[type: gettext/xml] share/extensions/addnodes.inx" for reading: Invalid argument
so I tried to comment all lines with "[type: gettext/xml]" argument (88 lines), and I got a small "po" file with 35 lines only!
Could you please guide me?