Web i18n: port the gui/i18n.py EN/FR catalog or remove the vestigial language toggle

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

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

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

評価

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

調査の方向性

Start by reading components/StatusBar.tsx (lines 140-166) and App.tsx (lines 93, 1440-1441) to see the dead language toggle and state. Check src/profiles/gui/i18n.py for the EN/FR catalog before any gui removal. Decide whether to port to web/src/i18n.ts (with index.html lang update) or remove the toggle; done means either real i18n context wired or no toggle and dead state deleted.

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

説明

enhancement frontend

The web UI has a language toggle in the StatusBar (components/StatusBar.tsx:140-166) wired to language state (App.tsx:93, :1440-1441) — but nothing consumes the value: every user-facing string in all 23 components is hardcoded English, and index.html declares lang="en". The toggle is decorative.

The real EN/FR catalog lives in the deprecated Tkinter app (src/profiles/gui/i18n.py), which dies at phase 2 (gui removal tracking issue).

Decision needed

  1. Port the catalog to web/src/i18n.ts (small typed dict + useI18n context), translate the web strings to French, and make the toggle real — the app ships French docs, so this is plausible.
  2. Remove the toggle until real i18n exists, and delete the dead state — the status bar currently advertises a feature that does nothing.

Either way, don't let the only i18n catalog be deleted with gui/ before deciding.

主要言語
Python
スター
1
フォーク
1
平均マージ
4時間 46分
マージ済み PR(30日)
55

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

falbany/ProFiles のほかの issue

falbany/ProFiles の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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