Author Topic: How to fix the translation error of zh_CN  (Read 90 times)

Offline Cubestone.Wang

  • Single posting newcomer
  • *
  • Posts: 2
How to fix the translation error of zh_CN
« on: Today at 10:05:20 am »
When I use 25.03 version in zh_CN, there is a "!" before the content, see the following image:

After using "msgunfmt zh_CN.mo -o zh_CN.po", I confirm it:

And then, I search something, but in source code, no zh_CN file, in Nightly builds, no zh_CN file, in translate website, the current content is translated just in 2006-07-17:




So where is the question, in building process?
I post the message in this forums, and wait someone could fix it. Or maybe post it in "https://sourceforge.net/p/codeblocks/tickets/"?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1790
Re: How to fix the translation error of zh_CN
« Reply #1 on: Today at 11:44:37 am »
The launchpad page you saw is obsolete, please use this

Online gd_on

  • Lives here!
  • ****
  • Posts: 833
Re: How to fix the translation error of zh_CN
« Reply #2 on: Today at 11:58:28 am »
More, from this page you can also download the .po file (source) and/or the .mo file. If you have still problems, you can try to use poedit on the .po file to correct it and produce your own .mo file. You can also correct some bad or not correct translations on launchpad and submit them (you just need to have already a launchpad account or create one).
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.1, Msys2 Compilers 15.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Cubestone.Wang

  • Single posting newcomer
  • *
  • Posts: 2
Re: How to fix the translation error of zh_CN
« Reply #3 on: Today at 12:48:06 pm »
First, thank you for answer. I just finished to change it for myself.

And then, I see the new website and download it, the content translation is right ( translated on 2019-06-21, reviewed on 2024-03-27)



So, the question: I download software package (version 25.03) from "https://www.codeblocks.org/downloads/binaries/#imagesoswindows48pnglogo-microsoft-windows". And the zh_CN file just is built-in (2025-03-31). When you use "msgunfmt zh_CN.mo -o zh_CN.po" to check it, just see "!" in content (just like what I said). Anyone who interested in it could do these step for check.




Thus, what's happened? May in CI/CD process, it is not get ".po" file from the new translate website?