OpenPrinting / cups

OpenPrinting CUPS Sources
https://openprinting.github.io/cups
Apache License 2.0
1.05k stars 187 forks source link

中文支持是否可行 (Is Chinese support possible?) #843

Closed lpfxh closed 9 months ago

lpfxh commented 9 months ago

能否添加中文语言支持,或者如何设置成中文语言

michaelrsweet commented 9 months ago

English translation:

Can Chinese language support be added, or how to set it to Chinese language?

michaelrsweet commented 9 months ago

The current CUPS sources include a Simplified Chinese (zh_CN aka zh-Hans) translation, and various Linux distros provide additional translations/localizations. Internally CUPS will convert the different locale names to zh_CN or zh_TW since those (legacy) names have been in use for a long time...

当前的 CUPS 源包括简体中文(zh_CN 又名 zh-Hans)翻译,并且各种 Linux 发行版提供其他翻译/本地化。 在内部,CUPS 会将不同的语言环境名称转换为 zh_CN 或 zh_TW,因为这些(旧)名称已经使用了很长时间......

szlt5 commented 9 months ago

CUPS目前是支持中文的,若你安装的PPD中有中文的翻译。那么在你打印的时候,应用程序是可以显示成中文的。 比如我附件的这样。

c1.pdf

michaelrsweet commented 9 months ago

Translation:

CUPS currently supports Chinese, if the PPD you install has Chinese translation. Then when you print, the application can display it in Chinese. For example, this is what I attached.

zdohnal commented 9 months ago

CUPS itself supports Chinese and translations from PPDs depend on driver provider whether he will provide the translations. One of the perks of IPP Everywhere printing is that those strings are generated based on IPP response, so CUPS can provide translation for them - otherwise it is up to the driver provider.

If the PPD you use is part of CUPS project, you can send a PR with Chinese translations and we can accept it, otherwise there is no Chinese speaker here to give the translation.