add Greek localisation

オープン
#652 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
bootstrap, react, typescript

調査の方向性

src/i18n/locales/en.json と #647 で導入された完全性チェックから始め、次に formatLanguageLabel() を含む src/i18n/index.ts を確認します。対応するキーを持つギリシャ語の locale を追加し、言語ピッカーに登録して、フォーム、警告パネル、ピッカーでギリシャ語のタイポグラフィとレイアウトを検証します。完全性チェックに合格し、用語がギリシャ語話者によってレビューされ、欠落したグリフやレイアウトの崩れが残っていなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Context

Derived from requirement RF-PCE-002. Part of #647.

Scope

Add the Greek (el) UI localisation: translate every string the editor exposes, using
en.json as the reference for the key structure.

Greek is the first locale in the editor that does not use the Latin alphabet, so this
one carries some work the other translations do not: the design system's typography has
to render the script correctly, and nothing in the layout may assume Latin-script string
widths.

Affected areas

  • src/i18n/locales/el.json — new file, mirroring the keys of en.json (~23 KB)
  • src/i18n/index.ts — register the locale so it appears in the language picker
  • formatLanguageLabel() in src/i18n/index.ts — it uppercases the Intl.DisplayNames
    output, and uppercasing Greek removes accents (Ελληνικά → ΕΛΛΗΝΙΚΑ). That is correct
    Greek orthography, but the result should be checked rather than assumed.

Non-functional constraints

  • RNF-PCE-006 — Long-term sustainability: the translation has to stay complete after
    merge, so it must pass the completeness check introduced in #647.

Acceptance criteria

  • el.json covers every key present in en.json
  • The locale is selectable in the language picker
  • The translation is reviewed by a Greek speaker
  • Terminology is consistent with the publiccode.yml specification: field names and
    standard terms keep their meaning rather than being translated ad hoc
  • Greek text renders correctly in the Bootstrap Italia / Design React Kit
    typography, with no missing glyphs or fallback fonts
  • No layout breakage in the form, warnings panel or language picker from non-Latin
    script
主要言語
TypeScript
スター
33
フォーク
34
平均マージ
10時間 50分
マージ済み PR(30日)
13

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

italia/publiccode-editor のほかの issue

italia/publiccode-editor の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。