From e340b54a84d7dcdf9ba910fe7ff39c453fac0968 Mon Sep 17 00:00:00 2001
From: Yassine Doghri <yassine@doghri.fr>
Date: Fri, 22 Apr 2022 09:51:59 +0000
Subject: [PATCH] feat(i18n): add Spanish to supported locales

---
 app/Config/App.php                     | 2 +-
 app/Language/.rsync-filter             | 1 +
 modules/Admin/Language/.rsync-filter   | 1 +
 modules/Install/Language/.rsync-filter | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/app/Config/App.php b/app/Config/App.php
index 502874705a..ae52af66da 100644
--- a/app/Config/App.php
+++ b/app/Config/App.php
@@ -101,7 +101,7 @@ class App extends BaseConfig
      *
      * @var string[]
      */
-    public array $supportedLocales = ['en', 'fr', 'pl', 'de', 'pt-BR', 'nn-NO'];
+    public array $supportedLocales = ['en', 'fr', 'pl', 'de', 'pt-BR', 'nn-NO', 'es'];
 
     /**
      * --------------------------------------------------------------------------
diff --git a/app/Language/.rsync-filter b/app/Language/.rsync-filter
index ca80f27096..ac4c74e7d9 100644
--- a/app/Language/.rsync-filter
+++ b/app/Language/.rsync-filter
@@ -4,4 +4,5 @@
 + de/***
 + pt-BR/***
 + nn-NO/***
++ es/***
 - **
diff --git a/modules/Admin/Language/.rsync-filter b/modules/Admin/Language/.rsync-filter
index ca80f27096..ac4c74e7d9 100644
--- a/modules/Admin/Language/.rsync-filter
+++ b/modules/Admin/Language/.rsync-filter
@@ -4,4 +4,5 @@
 + de/***
 + pt-BR/***
 + nn-NO/***
++ es/***
 - **
diff --git a/modules/Install/Language/.rsync-filter b/modules/Install/Language/.rsync-filter
index ca80f27096..ac4c74e7d9 100644
--- a/modules/Install/Language/.rsync-filter
+++ b/modules/Install/Language/.rsync-filter
@@ -4,4 +4,5 @@
 + de/***
 + pt-BR/***
 + nn-NO/***
++ es/***
 - **
-- 
GitLab