Hi,
I'm just trying to translate the Codeblocks GUI to german language.
I have read the 'Internationalisation' article in the Codeblocks wiki
and downloaded the pot file.
I'm working on Windows 2000, and there are a lot of strings missing. Of
course I'm aware that a pot file is always a little bit 'obsolete' (a
few weeks or so) but if I'm scanning the sourcecode with my own tools
(more information at the end of this mail) I will find 3022 strings in
the sourcecode, while the pot file from berlios.de (dated 2006-Jun-12
05:03) contains only 2109 strings.
Is there something wrong with the berlios.de pot file?
Considerations:
As I know from experience by translating several SourceForge projects:
On UNIX (Mac OS X and Linux) there are 'system wide' .mo files available
for wx-widgets, scintilla and all the other GNU or GNU-like tools.
This is not the case on MS-Windows where it is often necessary to
include the translations in the project's .mo file (in my opinion not
a very clever but often the only possible solution). Maybe this could
be the reason why so much strings are missing ?
Then I don't know how obsolete the batch-file listing on the wiki
page is (because lots of sourcecode folders aren't scanned at all).
Is this because the listing is obsolete or is this because there are
folders left out intentionally because the related code is still 'too
much under construction'? (probably it's just simply obsolete)
On MS-Win 2000 SP 4 (german ver.) xgettext doesn't accept * wildcards.
Does anybody know on which Windows version the wiki batch file works ?
(I'm only interested to know wether this is one of the typical 'german
keyboard driver' mysteries.)
More information about 'How I'm scanning the sourcecode':
1. I'm using unix find (windows port, not the windows find) to find all
.xrc files in the sourcecode tree.
2. I'm using wxrc to extract all gettext strings from the xrc files
into one big 'dummy' cpp file with references to the original files.
3. I'm scanning the sourcecode tree for all .cpp and .h files (including
the dummy cpp file created before).
4. I'm using xgettext to create the pot file out of all found .cpp and
.h files.
The result is 3022 gettext strings (2006-June-23).
The 'official' pot file has only 2109 (dated 2006-Jun-12).
This is of course a very 'rough' description but I can provide the
original files and tools if anybody is interested.
Now the question still remains:
Are there strings missing or it's simply because I'm scanning too much?
Maybe anybody could help me to find an answer ...
Thanks a lot in advance,
- edgar