Chinese(simplify) translation for Pelles C v14. Need testing.

Started by ander_cc, April 10, 2026, 11:03:38 AM

Previous topic - Next topic

ander_cc

Due to my limited capability, I have not translated the String Table. The Dialog and Menu have all been translated, with the layout of a small number of Dialog windows adjusted to ensure all text is fully displayed. But some testing is needed.

see attach zip file.
---
Pelles C v14的简体中文翻译,包括全部对话框和菜单,拷贝到安装目录 .\PellesC\Bin\Intl 中即可。

John Z

Hi ander_cc,

Quite a lot of work.  But without the string tables  . . . still needs a lot of English understanding. Only if completed would Pelle would consider posting as a language option.

Quote from: ander_cc on April 10, 2026, 11:03:38 AMDue to my limited capability, I have not translated the String Table. The Dialog and Menu have all been translated, with the layout of a small number of Dialog windows adjusted to ensure all text is fully displayed. But some testing is needed.

see attach zip file.
---
Pelles C v14的简体中文翻译,包括全部对话框和菜单,拷贝到安装目录 .\PellesC\Bin\Intl 中即可。

Also please always include English for the posts.  Translated above:

"This is the Simplified Chinese translation for Pelles C v14, covering all dialog boxes and menus. Simply copy it to the installation directory: .\PellesC\Bin\Intl."

John Z

Update: Installed and it is working . . . 👍

John Z

Hi ander_cc,

For the string tables you might consider using AI.  Here is an example input and output from Gemini

Input to AI
   
  Translate only the quoted text into Chinese Simplified -  
    IDS_BADSCREENRESOLUTION, "The effective screen resolution must be at least %dx%d.\r\nIt is recommended that you either increase your screen resolution setting or reduce your DPI scaling setting. Continue\?"
    IDS_BADCOMCTLVERSION, "The system file COMCTL32.DLL is missing or too old.\r\nPelles C IDE require version %ls or higher."
    IDS_BADVERSION, "Bad version on \'%ls\'."
    IDS_OUTOFMEMORY, "Out of memory."
    IDS_MEMORYERROR, "Memory error! Try to save your files - but exit as soon as possible!"
    IDS_COMMDLGERROR, "Error in Windows Common Dialog (this shouldn\'t have happened!). The error code is 0x%lx."
    IDS_THREADERROR, "Unable to create new process or thread."
    IDS_DEBUGGERERROR, "Internal debugger error!\r\n\r\nException code: %08X\r\nException address: %P"
    IDS_EXECERROR, "Unable to execute \'%ls\'."
    IDS_PIPEERROR, "Unable to create a new pipe."
    IDS_BADNUMBER, "Invalid numeric value."
    IDS_BACKUPERROR, "Error initializing backup copy for file \'%ls\'."
    IDS_CHANGEDIRERROR, "Unable to change to folder \'%ls\'."
    IDS_CREATEDIRERROR, "Unable to create folder \'%ls\'."
 
Output from AI 
 
  IDS_BADSCREENRESOLUTION, "有效屏幕分辨率必须至少为 %dx%d。\r\n建议您调高屏幕分辨率设置,或调低 DPI 缩放设置。是否继续?"
  IDS_BADCOMCTLVERSION, "系统文件 COMCTL32.DLL 丢失或版本过旧。\r\nPelles C IDE 需要 %ls 或更高版本。"
  IDS_BADVERSION, "\'%ls\' 版本错误。"
  IDS_OUTOFMEMORY, "内存不足。"
  IDS_MEMORYERROR, "内存错误!请尝试保存文件 — 但请尽快退出程序!"
  IDS_COMMDLGERROR, "Windows 通用对话框出错(不应出现此错误!)。错误代码为 0x%lx。"
  IDS_THREADERROR, "无法创建新进程或线程。"
  IDS_DEBUGGERERROR, "调试器内部错误!\r\n\r\n异常代码:%08X\r\n异常地址:%P"
  IDS_EXECERROR, "无法执行 \'%ls\'。"
  IDS_PIPEERROR, "无法创建新管道。"
  IDS_BADNUMBER, "无效的数值。"
  IDS_BACKUPERROR, "初始化文件 \'%ls\' 的备份副本时出错。"
  IDS_CHANGEDIRERROR, "无法切换至文件夹 \'%ls\'。"
  IDS_CREATEDIRERROR, "无法创建文件夹 \'%ls\'。"


You will need to be the judge of the accuracy and perhaps fix a few things here and there but this technique should be able to get you to the finish line.

John Z

ander_cc

Quote from: John Z on April 11, 2026, 11:10:43 AMHi ander_cc,

For the string tables you might consider using AI.  Here is an example input and output from Gemini

You will need to be the judge of the accuracy and perhaps fix a few things here and there but this technique should be able to get you to the finish line.

John Z
Thank you! I already translated it. https://forum.pellesc.de/index.php?topic=11778.0