[Bug 75920] New: Adding translation to a wxWindows-Project not possible

Felix Eckhofer felix at tribut.de
Mon Feb 23 14:23:06 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=75920      
           Summary: Adding translation to a wxWindows-Project not possible
           Product: kdevelop
           Version: 3.0.1
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel kdevelop org
        ReportedBy: felix tribut de


Version:           3.0.1 (using KDE KDE 3.2.0)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3 
OS:          Linux

When dealing with project created using the "wxWindows" template (should be renamed to wxWidgets[1], BTW) it is not possible to add a translation.
wxWindows uses the same .po-files KDE uses as well iirc (the function called to retrieve the localized string is called wxGetTranslation() or _() rather than i18n(), though[2]) so a integration should be possible.

"Project->Add translation..." failes with the following error:
* cd "/home/felix/dev/test" && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -f Makefile.cvs && cd "/home/felix/dev/test/debug" && CXXFLAGS="-O0 -g3" "/home/felix/dev/test/configure" --enable-debug=full && cd "/home/felix/dev/test/debug/po" && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k force-reedit 
[...]
* config.status: executing depfiles commands 
* /bin/sh: line 1: cd: /home/felix/dev/test/debug/po: No such file or directory
(full error at [3])

I would have tried to find a solution myself but after hours of trial-and-error I realized that I have no real idea of what automake and friends actually do.

A few month ago I asked the same in a newsgroup[3] but obviously nobody could help me...

tia,
felix

- - - -
[1] http://www.wxwidgets.org/name.htm
[2] http://www.wxwidgets.org/manuals/2.4.2/wx460.htm#internationalization
[3] http://groups.google.com/groups?selm=20030928003334.3dbae892.felix%40tribut.de




More information about the KDevelop-devel mailing list