diff --git a/frontend/src/app/app.constants.ts b/frontend/src/app/app.constants.ts index aaa53b8ba..cef630984 100644 --- a/frontend/src/app/app.constants.ts +++ b/frontend/src/app/app.constants.ts @@ -151,7 +151,7 @@ export const languages: Language[] = [ { code: 'fr', name: 'Français' }, // French // { code: 'gl', name: 'Galego' }, // Galician { code: 'ko', name: '한국어' }, // Korean -// { code: 'hr', name: 'Hrvatski' }, // Croatian + { code: 'hr', name: 'Hrvatski' }, // Croatian // { code: 'id', name: 'Bahasa Indonesia' },// Indonesian { code: 'hi', name: 'हिन्दी' }, // Hindi { code: 'ne', name: 'नेपाली' }, // Nepalese diff --git a/nginx.conf b/nginx.conf index abd7b1269..670764e20 100644 --- a/nginx.conf +++ b/nginx.conf @@ -108,6 +108,7 @@ http { ~*^hi hi; ~*^ne ne; ~*^lt lt; + ~*^hr hr; } map $cookie_lang $lang { @@ -145,6 +146,7 @@ http { ~*^hi hi; ~*^ne ne; ~*^lt lt; + ~*^hr hr; } server { diff --git a/production/nginx/http-language.conf b/production/nginx/http-language.conf index c03d776b0..14c26a741 100644 --- a/production/nginx/http-language.conf +++ b/production/nginx/http-language.conf @@ -32,6 +32,7 @@ map $http_accept_language $header_lang { ~*^vi vi; ~*^zh zh; ~*^lt lt; + ~*^hr hr; } map $cookie_lang $lang { default $header_lang; @@ -67,4 +68,5 @@ map $cookie_lang $lang { ~*^vi vi; ~*^zh zh; ~*^lt lt; + ~*^hr hr; }