pop-os / installer

Installer for Pop!_OS & other Linux-based OSes
https://system76.com/pop
GNU General Public License v3.0
26 stars 15 forks source link

feat(i18n): Update Chinese Simplified translation #272

Closed ckrvxr closed 1 year ago

ckrvxr commented 2 years ago

Update Chinese Simplified translation。

n3m0-22 commented 2 years ago

@RX-CaO I'm not seeing the updated translations you have added when running the installer. Is it working on your end, or did you just add the updated translations text to the zh_CN.po file?

ckrvxr commented 2 years ago

This is the final version so far.

n3m0-22 commented 2 years ago

There seems to be a problem in the msgstr of this line of the zh.po file:

msgid "Your device will automatically restart to %s in %i seconds."
msgstr "您的设备将会在 %i 后自动重启以进入 %s 。"

If I remove the translation from that line the Chinese translations work fine. I tried the same thing with the Chinese Simplified zh_CH.po translations, but they are still not showing up. I'll look into this further.

ckrvxr commented 2 years ago

I just went to check the relevant information, and this way of writing is indeed wrong. The main reason why I translated it this way is because this kind of sentence style is very strange in Chinese. I have updated a new version of the translation.

Outside of that, I had some problems when I tried to apply my translation to the software, and I don't think it was my translation that caused it. I don't know anything about the structure of this project and I don't have ability and energy to study it. That's all I can do to provide a translation file without errors. I am sorry to trouble you.

n3m0-22 commented 2 years ago

Don't worry, it's no trouble. We are still looking into this since we would love to have it merged. Thank you for all your help in trying to get this working.