From 6405ba57eee57fa4d4224b8c71ee633560a11aa3 Mon Sep 17 00:00:00 2001 From: Ebrahim Date: Tue, 23 Jun 2020 08:51:31 +0430 Subject: [PATCH] =?UTF-8?q?add=20test=20comment=20=F0=9F=98=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plume-front/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plume-front/src/main.rs b/plume-front/src/main.rs index 2962b99e..f78d9053 100644 --- a/plume-front/src/main.rs +++ b/plume-front/src/main.rs @@ -46,6 +46,9 @@ lazy_static! { let lang = js! { return navigator.language }.into_string().unwrap(); let lang = lang.splitn(2, '-').next().unwrap_or("en"); + // Force a language (Add .env setting) + //let lang = "fa"; ??? + let english_position = catalogs .iter() .position(|(language_code, _)| *language_code == "en")