Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

Code::Blocks' translation

<< < (22/57) > >>

gd_on:
Thanks jens, I will try this.
I know "Internationalization" on the Wiki but I thought I could not use it because I don't have wxrc. But, finally I have found it's sources in wxwidgets install folder. So may be ... But, the batch file needs a serious update.
Nevertheless, it could be better if launchpad site was updated. Like this, translation work can be shared.

For the location of codeblocks.mo under Redhat pro 4.7, I tried both solutions (with fr_FR in my case), but without success. The strange thing is that it worked with Redhat pro 5 !

Gd_on

Jenna:
I don't know the package layout of Redhat, but on debian (I use the packages from wxwidgets.org) "wxrc" is in package "wx-common".

gd_on:
My main machine is on Windows (Linux is at work, and I'm only a simple user, not an admin !!!)
Well, but on Windows XP (SP3), I have in my wxwidget install folder in utils\wxrc a source for wxrc and a .dsp file that I imported in C::B. Compilation is OK (but a few warnings). But at link time its says ld.exe cannot find -lwxbase28u_xml. So I suppose I need to build that library (or that dll), but I have not found how to do this. May be there is somewhere in the install folder a makefile or something else to build this wxrc.exe and all dll needed, but I have not found it.
I also tried to find on the web a wxrc.exe ready to use, but without success.

gd_on

Jenna:
I have only wx2.8.9 available, so with 2.8.8 it might differ, but I don't think so.

If you have wxWidgets build yourself it's quite easy:


* open a console
* change directory to the folder with the sources for wxrc ("[wxWidgets-root]/src/utils/wxrc")
* type "mingw32-make -f makefile.gcc [the switches you used for wxWidgets]" (in my case "SHARED=1 MONOLITHIC=1 BUILD=Release UNICODE=1")
* that creates a folder (e.g. "gcc_mswudll") including the "wxrc.exe"
If you put "wxrc.exe" somewhere in your searchpath (e.g. MingW's bin directory) you should be able to use it from any folder.

gd_on:
That's OK now. Thanks.
I had a few problems because there was a sh.exe in my MinGW\bin folder, causing a conflict (or an other problem) in the makefile. But after renaming it in shxxx.exe, it's ok.
A simple test on a few .xrc files gave me strings with a quite good look, so I think I can go further now....

gd_on

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version