Code::Blocks Forums

User forums => Help => Topic started by: Cubestone.Wang on November 27, 2025, 10:05:20 am

Title: How to fix the translation error of zh_CN
Post by: Cubestone.Wang on November 27, 2025, 10:05:20 am
When I use 25.03 version in zh_CN, there is a "!" before the content, see the following image:
(https://i.imgur.com/PakrsRP.jpeg)
After using "msgunfmt zh_CN.mo -o zh_CN.po", I confirm it:
(https://i.imgur.com/esLLYGV.jpeg)
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:
(https://i.imgur.com/Yc7EzXA.png)
(https://i.imgur.com/dcg5LdP.png)
(https://i.imgur.com/0iAdjkU.jpeg)
(https://i.imgur.com/3GJefUd.jpeg)
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/"?
Title: Re: How to fix the translation error of zh_CN
Post by: Miguel Gimenez on November 27, 2025, 11:44:37 am
The launchpad page you saw is obsolete, please use this (https://launchpad.net/codeblocks-gd)
Title: Re: How to fix the translation error of zh_CN
Post by: gd_on on November 27, 2025, 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).
Title: Re: How to fix the translation error of zh_CN
Post by: Cubestone.Wang on November 27, 2025, 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)
(https://i.imgur.com/y8JjsJ4.jpeg)
(https://i.imgur.com/Pf90tjD.jpeg)

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.
(https://i.imgur.com/ORsOXwS.jpeg)
(https://i.imgur.com/KDWPf8M.jpeg)
(https://i.imgur.com/azsyohI.jpeg)

Thus, what's happened? May in CI/CD process, it is not get ".po" file from the new translate website?
Title: Re: How to fix the translation error of zh_CN
Post by: gd_on on November 27, 2025, 02:11:11 pm
Effectively, in zh_CN.mo as distributed on C::b web site (at least in the nosetup.zip version), there is this error (but I can't correct that). Probably, this zh_CN had a problem or was not updated as it should. The last version on launchpad, .po and .mo are OK and more, has been regularly updated (last contribution by Grit Clef: 2025-10-01)