AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] AppFlowyEditorLocalizations delegate does not support ko locale

オープン
#1,127 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
684
フォーク
329
PR マージ指標
30日以内にマージされた PR はありません

説明

### Bug Description

When I declare my app to support both English and Korean…
```dart
supportedLocales: [
const Locale('en'),
const Locale('ko'),
],
localizationsDelegates: [
AppFlowyEditorLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
```

…I see this warning at runtime:

```

======== Exception caught by widgets ===============================================================
The following message was thrown:
Warning: This application's locale, ko_KR, is not supported by all of its localization delegates.

• A AppFlowyEditorLocalizations delegate that supports the ko_KR locale was not found.

The declared supported locales for this app are: en, ko, ko_KR

See https://flutter.dev/to/internationalization/ for more information about configuring an app's locale, supportedLocales, and localizationsDelegates parameters.
====================================================================================================
```

It appears that AppFlowyEditorLocalizations has no Korean translations built in, so the delegate refuses to handle ko.

I’d like to know if this is indeed just because Korean isn’t yet provided in the package, and—if so—whether I can contribute or override it by adding my own ko ARB/JSON resources.

### How to Reproduce

```dart
supportedLocales: [Locale('en'), Locale('ko')],
localizationsDelegates: [
AppFlowyEditorLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
```

### Operating System

macOS 15.5

### AppFlowy Editor Version(s)

6.0.0

### Screenshots

_No response_

### Additional Context

_No response_

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

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

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

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