On 27/10/2024 10:49, Brian Inglis via Cygwin-apps wrote:
Ya Takeda-san,

You may wish to consider installing Cygwin package po4a https:// po4a.org/ which does the same job under Cygwin.

No, this is bad advice.

On 2024-10-26 22:33, 武田洋幸 via Cygwin-apps wrote:
Sorry for the late submission. This is a patch from the latest repository.

Thanks very much. I applied this.

I generated a test build, which can be found at:

https://cygwin.com/setup/setup-2.932-30-g33a7aa.x86_64.exe

Please let know if there are any problems with that.

Thanks again.

I also wanted to create the po/ja/res/po files, so I installed the
Translate Toolkit on Ubuntu in WSL, but I didn't know how to use
rc2po.

It should be as simple as:

1) Add python3 to your cygwin installation using cygwin's setup
2) Use 'pip3 install translate-toolkit'
3) Update the po/ja/res.po file using your preferred po file editor
3) Use 'make po2rc' to regenerate the res/ja/res.rc file
4) Use 'make' to build a setup executable including your translation changes

If possible, could you generate any future changes including patches against the po file (and using git format-patch), as that would save me a bit of time.

I didn't know what a template file was.

po2rc uses the res/en/res.rc as a template, replacing the translatable
strings with those from a given po/<LANG>/res.po file to generate the
res/<LANG>/res.rc file.

I hope that makes sense.  Please ask if you need more clarification.

Reply via email to