Bug 75920 - Adding translation to a wxWindows-Project not possible
Summary: Adding translation to a wxWindows-Project not possible
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: appwizard (show other bugs)
Version: 1.0.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 14:22 UTC by Felix Eckhofer
Modified: 2009-01-24 00:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Eckhofer 2004-02-23 14:22:40 UTC
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
Comment 1 Felix Eckhofer 2004-02-23 14:23:48 UTC
forget about that "full error at [3]"-line. should have deleted it. sorry.
Comment 2 Felix Eckhofer 2004-03-09 20:08:40 UTC
Is nobody using Kdevelop with WxWindows (WxWidgets)? Or is everybody just using a workaround?

"RTFM" would be OK if you just gave me a pointer where to look but it would be cool to get a response at all.


tia,
felix
Comment 3 Amilcar do Carmo Lucas 2004-03-09 23:38:07 UTC
I guess nobody is using internationalization with WxWindows.
But I guess you could ask Helio Castro about it.
He is the one that supplyed and maintains the tWxWindows templates.

But I think it's not that easy to fix.
Comment 4 Helio Chissini de Castro 2004-03-11 12:08:51 UTC
Just FYI, i will be looking on it today and will have a answer. At least the name change will be solved. Im was without time until last week since a project on my work, but now i'm finally free.
Sorry for delay the answer
Comment 5 Helio Chissini de Castro 2004-03-19 01:33:09 UTC
Name changing done.. 
Working now on translation issue and possible solution or not
Comment 6 Andreas Pakulat 2007-11-30 18:38:40 UTC
Any news on this, Helio?
Comment 7 Andreas Pakulat 2009-01-24 00:38:21 UTC
helio doesn't seem to have time, I consider this template to be unmaintained.