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 摘要。