print: the template language picker names every language in English - name each in itself (Български, English)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- java
- 領域
- localization
調査の方向性
engine-document の PrintEndpoint.displayName と、各言語の code と name をシリアライズする GET /services/print/GoodsReceipt/languages エンドポイントを読んでください。displayName を変更して、Locale.forLanguageTag(code).getDisplayLanguage(thatLocale) で autonym を解決し、既存の空白からコードへのフォールバックを維持してください。言語エンドポイントに単体テストを追加し、bg -> "Български"、en -> "English"、未知のコード -> そのコードを検証してください。両方の UI で印刷ダイアログにこれらの名前が表示されたら完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
The print dialog names its template languages in English whatever the UI language. In a Bulgarian UI, a generated document's "..." -> Print opens "Печат - Изберете език на шаблона." with the buttons "Bulgarian" and "English". Everything else in the dialog is Bulgarian.
The name comes from the server:
GET /services/print/GoodsReceipt/languages
-> [{"code":"bg","name":"Bulgarian",...},{"code":"en","name":"English",...}]
PrintEndpoint.displayName (engine-document) fixes the display locale to English:
private static String displayName(String code) {
String name = Locale.forLanguageTag(code)
.getDisplayLanguage(Locale.ENGLISH);
return name.isBlank() ? code : name;
}
Seen on 2026-11-23 (16.0.0-SNAPSHOT 3cd1a4a499, BusinessIntents inventory 1.39.0, Goods Receipt print), store test section 7, GR-29.
Ask
Name each language in itself (its autonym): Locale.forLanguageTag(code).getDisplayLanguage(thatLocale), capitalized in that locale - "Български", "English", "Deutsch". It is how language pickers name languages: a reader always recognizes their own language, and the name needs no translation catalog. #8774 derives the label of an auto-registered locale the same way, so the print dialog and the language picker would name a language identically.
Keep falling back to the code when the JDK has no name for it.
Acceptance
A unit test on the languages endpoint: bg is named "Български", en "English", an unknown code its code. The print dialog of a generated document lists "Български" / "English" in both the Bulgarian and the English UI.
- 主要言語
- Java
- スター
- 278
- フォーク
- 97
- 平均マージ
- 15時間 3分
- マージ済み PR(30日)
- 320
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-dirigible/dirigible のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
eclipse-dirigible/dirigible#8838 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eclipse-dirigible/dirigible#8763 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eclipse-dirigible/dirigible#8548 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
eclipse-dirigible/dirigible#8354 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eclipse-dirigible/dirigible#8240 ·
メンテナーはふだん 1 日以内に返信
eclipse-dirigible/dirigible の issue をすべて見る
似ている issue
-
needs-area-label
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
bug module: hybrid priority: high
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bancolombia/bin-stash#92 ·
-
bug module:pubsub priority:P3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
flink-gcp/flink-connector-gcp#2325 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信