Author Topic: Code::Blocks IDE translation to German language  (Read 12863 times)

Offline gd_on

  • Lives here!
  • ****
  • Posts: 824
Re: Code::Blocks IDE translation to German language
« Reply #15 on: November 10, 2022, 01:40:51 pm »
Neverthess, something like :
Code
local intro_msg = _("Welcome to the wxWidgets project wizard!\n\n") +
                            _("This wizard will guide you to create a new project using\n") +
                            _("the wxWidgets cross-platform GUI library.\n\n") +
                            _("When you 're ready to proceed, please click \"Next\"...");
with _(...) on each line, is correctly detected but as you have partial sentences it may be difficult to translate without the context. A better approach is
Code
local intro_msg = _("Welcome to the wxWidgets project wizard!\n\n") +
                            _("This wizard will guide you to create a new project using\nthe wxWidgets cross-platform GUI library.\n\n") +
                            _("When you 're ready to proceed, please click \"Next\"...");
Windows 11 64 bits (24H2), svn C::B (last version or almost!), wxWidgets 3.2.8 (tests with 3.3), Msys2 Compilers 15.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1723
Re: Code::Blocks IDE translation to German language
« Reply #16 on: November 10, 2022, 02:11:40 pm »
OK

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1723
Re: Code::Blocks IDE translation to German language
« Reply #17 on: November 10, 2022, 05:45:35 pm »
Most strings are fixed in [r13010].

There are still about three strings using concatenated fragments, but I do not know how to fix them in Squirrel.
« Last Edit: May 30, 2025, 12:01:50 pm by Miguel Gimenez »

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1723
Re: Code::Blocks IDE translation to German language
« Reply #18 on: November 11, 2022, 08:13:10 am »
Fixed in [r13011] using macro-style replacements:
Code
local msg = _("$1 was not found on drive $2, try again...");
msg.Replace(_T("$1"), filename);
msg.Replace(_T("$2"), drivename);

Offline Karschti

  • Single posting newcomer
  • *
  • Posts: 1
Re: Code::Blocks IDE translation to German language
« Reply #19 on: May 29, 2025, 05:38:36 pm »
Hello,

which is  the latest german file?
Which is the right folder to put it in?

Hope for some help.

thx

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1723
Re: Code::Blocks IDE translation to German language
« Reply #20 on: May 30, 2025, 12:01:28 pm »
See this and this.

Offline rechtsanwaltsteyer

  • Multiple posting newcomer
  • *
  • Posts: 19
Re: Code::Blocks IDE translation to German language
« Reply #21 on: Yesterday at 12:50:14 pm »
Hello Karschti, here I attach a mo-file, in which ca 75% are translated to german language. Put the filte into /usr/share/codeblocks/locale/de_DE/ (under Linux).
regards Michael
Greatings
Georg Michael Steyer, Rechtsanwalt