From 2b561122a72f54b340c0e6a3e30aea67cb883477 Mon Sep 17 00:00:00 2001 From: Johan Idstam Date: Mon, 18 May 2020 20:07:45 +0200 Subject: [PATCH] Add Swedish to config --- application/config/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/config/config.php b/application/config/config.php index a1f46617..e4250c90 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -104,7 +104,8 @@ $config['language'] = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? 'ru' => 'russian', 'sk' => 'slovak', 'es' => 'spanish', - 'tr' => 'turkish' + 'tr' => 'turkish', + 'sv' => 'swedish' ][substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2)] : Config::LANGUAGE;