willba-component-library 0.0.36 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.umd.js CHANGED
@@ -8401,6 +8401,8 @@
8401
8401
  var urlParams = new URLSearchParams(window.location.search);
8402
8402
  var localeFromUrl = urlParams.get('locale') || 'fi';
8403
8403
  console.log(urlParams);
8404
+ var userPreferredLanguage = navigator.language;
8405
+ console.log('User Preferred Language:', userPreferredLanguage);
8404
8406
  instance.use(initReactI18next).init({
8405
8407
  resources: {
8406
8408
  en: { filterBar: enFilterBar },