Driverless PPD: Missing German localization for printer options and media sizes

未关闭
#95 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
c
领域
localization

调研方向

Start by tracing where libppd generates the driverless drvless.ppd and loads PPD localization resources. Use the de_DE.Translation mechanism and localized option entries from the issue as the expected behavior, and run cupstestppd to validate generated output. Done means German labels are available for printer options and media sizes and appear correctly in the CUPS web interface.

由索引模型根据 Issue 内容生成。

描述

Description

I am using a Lexmark MX317dn printer with driverless IPP printing on Linux (CachyOS).

The PPD file generated for this printer contains the following information:

*PCFileName: "drvless.ppd"
*NickName: "Lexmark Printer, driverless, 2.1.1"
*LanguageVersion: English
*cupsLanguages: "en"

My system locale is set to de_DE.UTF-8, but many printer option labels and media size names are still displayed in English in the CUPS web interface.

Expected behavior

When the system locale is set to German (de_DE.UTF-8), the generated PPD should display German translations for printer options and media sizes wherever German translations are available.

This should include, for example:

English label | Expected German label -- | -- Media Size | Papierformat Media Source | Papierzufuhr Media Type | Medientyp Duplex | Beidseitiger Druck Color Model | Farbmodus Output Bin | Ausgabefach Print Quality | Druckqualität

Additional information

I created a modified version of the generated PPD file with German translations using the standard PPD localization mechanism (de_DE.Translation and localized option entries).

The modified PPD passed the cupstestppd validation successfully, and the translations were displayed correctly in the CUPS web interface.

This suggests that the PPD format and CUPS can handle the required German translations. The missing translations appear to be related to the generation of the driverless PPD or its language configuration.

I would like to contribute the German translations and help test a suitable fix.

Question: Is the driverless PPD generation handled by libppd, and would this be the appropriate place to fix the missing German localization? If not, could you point me to the correct component?

主要语言
C
星标
6
派生
38
平均合并
23 小时 9 分钟
30 天内合并 PR
16

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenPrinting/libppd 的其他 Issue

查看 OpenPrinting/libppd 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。