Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

feat: support el_GR language (#4922)

Lucas.Xu452974ab9911
diff --git a/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart b/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart
index 00f3300bff..4b59782976 100644
--- a/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart
+++ b/frontend/appflowy_flutter/lib/startup/tasks/app_widget.dart
@@ -1,8 +1,5 @@
import 'dart:io';
-import 'package:flutter/material.dart';
-import 'package:flutter/services.dart';
-
import 'package:appflowy/mobile/application/mobile_router.dart';
import 'package:appflowy/plugins/document/application/document_appearance_cubit.dart';
import 'package:appflowy/startup/startup.dart';
@@ -21,6 +18,8 @@ import 'package:appflowy_editor/appflowy_editor.dart' hide Log;
import 'package:easy_localization/easy_localization.dart';
import 'package:flowy_infra/theme.dart';
import 'package:flowy_infra_ui/flowy_infra_ui.dart';
+import 'package:flutter/material.dart';
+import 'package:flutter/services.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:go_router/go_router.dart';
@@ -68,6 +67,7 @@ class InitAppWidgetTask extends LaunchTask {
Locale('en'),
Locale('es', 'VE'),
Locale('eu', 'ES'),
+ Locale('el', 'GR'),
Locale('fr', 'FR'),
Locale('fr', 'CA'),
Locale('hu', 'HU'),
diff --git a/frontend/appflowy_flutter/packages/flowy_infra/lib/language.dart b/frontend/appflowy_flutter/packages/flowy_infra/lib/language.dart
index c4a889fbd9..234de2d736 100644
--- a/frontend/appflowy_flutter/packages/flowy_infra/lib/language.dart
+++ b/frontend/appflowy_flutter/packages/flowy_infra/lib/language.dart
@@ -37,6 +37,8 @@ String languageFromLocale(Locale locale) {
return "Español";
case "eu":
return "Euskera";
+ case "el":
+ return "Ελληνικά";
case "fr":
switch (locale.countryCode) {
case "CA":
diff --git a/project.inlang.json b/project.inlang.json
index 20f6e90076..bacd225238 100644
--- a/project.inlang.json
+++ b/project.inlang.json
@@ -9,6 +9,7 @@
"de-DE",
"es-VE",
"eu-ES",
+ "el-GR",
"fa",
"fr-CA",
"fr-FR",