Skip to content

Firefly III: a personal finances manager

Moved locale information from the language to the translation files.

James Cole56ee830558d5
diff --git a/config/firefly.php b/config/firefly.php
index ebfb2e0f76..590c94bf3a 100644
--- a/config/firefly.php
+++ b/config/firefly.php
@@ -98,6 +98,12 @@ return [
'Revenue account' => 'revenue',
'Cash account' => 'cash',
],
+ 'languages' => [
+ 'en_US' => ['name_locale' => 'English', 'name_english' => 'English', 'complete' => true],
+ 'nl_NL' => ['name_locale' => 'Nederlands', 'name_english' => 'Dutch', 'complete' => true],
+ 'pt_BR' => ['name_locale' => 'Português do Brasil', 'name_english' => 'Portugese (Brazil)', 'complete' => false],
+ 'fr_FR' => ['name_locale' => 'Français', 'name_english' => 'French', 'complete' => false],
+ ],
'lang' => [
'en_US' => 'English',
'nl_NL' => 'Nederlands',
diff --git a/resources/lang/en_US/config.php b/resources/lang/en_US/config.php
new file mode 100644
index 0000000000..6a4b42f53e
--- /dev/null
+++ b/resources/lang/en_US/config.php
@@ -0,0 +1,8 @@
+<?php
+
+return [
+ 'locale' => 'en, English, en_US, en_US.utf8',
+ 'month' => '%B %Y',
+ 'month_and_day' => '%B %e, %Y',
+
+];
diff --git a/resources/lang/fr_FR/config.php b/resources/lang/fr_FR/config.php
new file mode 100644
index 0000000000..6aa208d339
--- /dev/null
+++ b/resources/lang/fr_FR/config.php
@@ -0,0 +1,8 @@
+<?php
+
+return [
+ 'locale' => 'fr, French, fr_FR, fr_FR.utf8',
+ 'month' => '%B %Y',
+ 'month_and_day' => '%e %B %Y',
+
+];
diff --git a/resources/lang/nl_NL/config.php b/resources/lang/nl_NL/config.php
new file mode 100644
index 0000000000..55f590c9a3
--- /dev/null
+++ b/resources/lang/nl_NL/config.php
@@ -0,0 +1,8 @@
+<?php
+
+return [
+ 'locale' => 'nl, Dutch, nl_NL, nl_NL.utf8',
+ 'month' => '%B %Y',
+ 'month_and_day' => '%e %B %Y',
+
+];
diff --git a/resources/lang/pt_BR/config.php b/resources/lang/pt_BR/config.php
new file mode 100644
index 0000000000..342e06a566
--- /dev/null
+++ b/resources/lang/pt_BR/config.php
@@ -0,0 +1,8 @@
+<?php
+
+return [
+ 'locale' => 'pt_BR, pt_BR.utf8',
+ 'month' => '%B %Y',
+ 'month_and_day' => '%e de %B de %Y',
+
+];