News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

how can i compile C::B with multi-language

Started by dongfengweixiao, March 17, 2014, 09:40:09 AM

Previous topic - Next topic

dongfengweixiao

how can i compile C::B with multi-language
now i make a translate project on transifex:https://www.transifex.com/projects/p/codeblocks
this format looks like svn/ROOT/src/i18n
but at the end idnnot know to to compile C::B with multi-language.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

dongfengweixiao


stahta01

I have no idea; how to help you.
Because, I have no idea what you want to do.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

dongfengweixiao

in src/i18n,have those file:
autoversioning.pot
browsetracker.pot
byogames.pot
cb_koders.pot
codesnippets.pot
codestat.pot
copystrings.pot
devpak_plugin.pot
dragscroll.pot
envvars.pot
headerfixup.pot
help_plugin.pot
hexeditor.pot
incrementalsearch.pot
keybinder.pot
lib_finder.pot
mousesap.pot
profiler.pot
regex_testbed.pot
rndgen.pot
source_exporter.pot
symtab.pot
threadsearch.pot
valgrind.pot
wxsmith.pot
wxsmithaui.pot
wxsmithcontribitems.pot
now I translate those,but at end,i donot know how can i compile them as one mo file.

gd_on

have a look here : http://forums.next.codeblocks.org/index.php/topic,1022.0.html
or more here : http://forums.next.codeblocks.org/index.php/topic,1022.msg129359.html#msg129359
You'll have links to different tools.
If you want to merge all the .pot file into a single file, you'll need some tool like msgcat.exe, sed.exe... and so on

and at the end, you'll need poedit to import .pot file(s), transform them in .po and finally compile them in .mo file(s).

gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).