AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] AppFlowyEditorLocalizations delegate does not support ko locale

Abierto
#1,127 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dart
Estrellas
684
Forks
329
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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_

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.