From aabcc55e1f865486bcb40f39036f4967c700b1a6 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Thu, 17 Oct 2024 08:10:11 +0200 Subject: [PATCH] added baltics --- application/config/gettext.php | 32 +++++++++++++++++++- application/views/debug/index.php | 3 ++ install/includes/gettext/gettext_conf.php | 30 ++++++++++++++++++ install/includes/interface_assets/footer.php | 3 ++ 4 files changed, 67 insertions(+), 1 deletion(-) diff --git a/application/config/gettext.php b/application/config/gettext.php index 43d0bfcea..651f02e5e 100644 --- a/application/config/gettext.php +++ b/application/config/gettext.php @@ -56,7 +56,7 @@ $config['gettext_domain'] = NULL; | - Add the new language to this array | - Add the language at the bottom of application/views/debug/index.php | - Add the language at the array in install/includes/gettext/gettext_conf.php -| - Add the language at the bottom of install/index.php +| - Add the language at the bottom of install/includes/interface_assets/footer.php | */ $config['languages'] = array( @@ -141,6 +141,16 @@ $config['languages'] = array( 'code' => 'en', 'flag' => 'us', ), + 'estonian' => array( + 'name' => 'Eesti', + 'name_en' => 'Estonian', + 'folder' => 'estonian', + 'locale' => 'et', + 'gettext' => 'et', + 'direction' => 'ltr', + 'code' => 'et', + 'flag' => 'ee', + ), 'finnish' => array( 'name' => 'Suomi', 'name_en' => 'Finnish', @@ -191,6 +201,26 @@ $config['languages'] = array( 'code' => 'it', 'flag' => 'it', ), + 'latvian' => array( + 'name' => 'Latviešu', + 'name_en' => 'Latvian', + 'folder' => 'latvian', + 'locale' => 'lv', + 'gettext' => 'lv', + 'direction' => 'ltr', + 'code' => 'lv', + 'flag' => 'lv', + ), + 'lithuanian' => array( + 'name' => 'Lietuvių', + 'name_en' => 'Lithuanian', + 'folder' => 'lithuanian', + 'locale' => 'lt', + 'gettext' => 'lt', + 'direction' => 'ltr', + 'code' => 'lt', + 'flag' => 'lt', + ), 'montenegrin' => array( 'name' => 'Crnogorski', 'name_en' => 'Montenegrin', diff --git a/application/views/debug/index.php b/application/views/debug/index.php index 2ef90810c..3aa91fe04 100644 --- a/application/views/debug/index.php +++ b/application/views/debug/index.php @@ -648,11 +648,14 @@ + + + diff --git a/install/includes/gettext/gettext_conf.php b/install/includes/gettext/gettext_conf.php index db7dd8bcd..25e16f339 100644 --- a/install/includes/gettext/gettext_conf.php +++ b/install/includes/gettext/gettext_conf.php @@ -96,6 +96,16 @@ $gt_conf['languages'] = array( 'code' => 'en', 'flag' => 'us', ), + 'estonian' => array( + 'name' => 'Eesti', + 'name_en' => 'Estonian', + 'folder' => 'estonian', + 'locale' => 'et', + 'gettext' => 'et', + 'direction' => 'ltr', + 'code' => 'et', + 'flag' => 'ee', + ), 'finnish' => array( 'name' => 'Suomi', 'name_en' => 'Finnish', @@ -146,6 +156,26 @@ $gt_conf['languages'] = array( 'code' => 'it', 'flag' => 'it', ), + 'latvian' => array( + 'name' => 'Latviešu', + 'name_en' => 'Latvian', + 'folder' => 'latvian', + 'locale' => 'lv', + 'gettext' => 'lv', + 'direction' => 'ltr', + 'code' => 'lv', + 'flag' => 'lv', + ), + 'lithuanian' => array( + 'name' => 'Lietuvių', + 'name_en' => 'Lithuanian', + 'folder' => 'lithuanian', + 'locale' => 'lt', + 'gettext' => 'lt', + 'direction' => 'ltr', + 'code' => 'lt', + 'flag' => 'lt', + ), 'montenegrin' => array( 'name' => 'Crnogorski', 'name_en' => 'Montenegrin', diff --git a/install/includes/interface_assets/footer.php b/install/includes/interface_assets/footer.php index b01cb9d0b..42cea6608 100644 --- a/install/includes/interface_assets/footer.php +++ b/install/includes/interface_assets/footer.php @@ -59,11 +59,14 @@ + + +