diff --git a/assets/js/detectLanguage.js b/assets/js/detectLanguage.js
new file mode 100644
index 0000000..133211d
--- /dev/null
+++ b/assets/js/detectLanguage.js
@@ -0,0 +1,11 @@
+'use strict';
+
+import params from '@params';
+
+const userLang = navigator.language || navigator.userLanguage;
+console.log(params.baseurl);
+
+if (userLang === 'it') {
+ console.log('language is');
+} else {
+}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 9efbe1e..87a2a68 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -126,6 +126,10 @@
{{ $bootstrap := resources.Get "js/bootstrap.bundle.min.js" }} {{ $js := slice
$bootstrap | resources.Concat "js/bundle.js" | resources.Minify }}
-
+
+ {{- $customJs := resources.Get "js/detectLanguage.js" -}} {{- $js = $js |
+ js.Build (dict "params" (dict "api" "{{.Site.AbsURL}}api")) -}}
+
+
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 8066b06..1b13a85 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -4,6 +4,7 @@
+
diff --git a/public/en/contacts/index.html b/public/en/contacts/index.html
index 86c5003..fb5580a 100644
--- a/public/en/contacts/index.html
+++ b/public/en/contacts/index.html
@@ -5,6 +5,7 @@
+
@@ -485,7 +486,8 @@
-
+
+