flutter / flutter/devtools

Language switching

オープン
#9,060 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
cost: high new feature P3
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

<-- Please describe your problem here. Be sure to include repro steps. -->
___
**DevTools version**: 2.31.1
**Connected Device**:
CPU / OS: x64 (64 bit) windows
Connected app type: Flutter native (debug build)
Dart Version: 3.3.4
Flutter Version: 3.19.6 / stable
Framework / Engine: 54e66469a9 / c4cd48e186

Dear Debugging Tool Developers/Maintainers,

I've recently been using the Flutter debugging tool and found it to be incredibly helpful in improving my development efficiency. However, I've noticed that the UI language of the debugger seems to be fixed (usually English).

As a developer whose primary language is not English, I often need to translate the English interface content into my native language to better understand and utilize the tool's features. I believe many developers from non-English speaking countries face a similar challenge.

Therefore, I suggest adding a language switching feature to the debugger UI, allowing users to select the language they prefer. For example, you could consider the following implementation options:

Add a language option in settings/preferences: Users can select the UI language in the debugger's settings, such as English, Chinese, Spanish, etc.

Automatically select language based on OS language: The debugger can automatically select the appropriate UI language based on the user's operating system language. Of course, a manual language switching option should also be provided to meet the specific needs of users.

Provide a language pack mechanism: Allow the community to contribute and maintain translation files for different languages.

If multilingual support could be implemented, I believe the user experience of the debugger would be significantly improved, attracting more developers from diverse linguistic backgrounds to use Flutter.

I am very willing to contribute to this feature. For example, I can:

Provide Chinese translation files: I can be responsible for translating the debugger's UI text into Chinese.

Assist in testing and verifying multilingual functionality: I can help test new features and provide feedback.

What are your thoughts on this suggestion? Do you think it's feasible to implement a multilingual switching feature in the debugger? If so, do you have any suggestions regarding the implementation approach?

Thank you very much for your time and consideration!

Sincerely,

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、DevTools の設定または環境設定エリアと、翻訳が必要になるデバッガーの UI テキストを確認します。OS の言語検出、手動切り替え、コミュニティによって保守される言語パックを含む、サポートする言語選択の動作を定義します。合意したローカライゼーション設計が実装され、選択した言語全体で検証されれば完了です。

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

評価

技術スタック
dart, flutter
領域
internationalization
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

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

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