@geogirafe/lib-geoportal 1.0.2201877070 → 1.0.2202017300
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/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"1.0.
|
|
1
|
+
{"version":"1.0.2202017300", "build":"2202017300", "date":"08/12/2025"}
|
|
@@ -104,6 +104,8 @@ class I18nManager extends GirafeSingleton {
|
|
|
104
104
|
}
|
|
105
105
|
const htmlLangElement = document.querySelector('html[lang]');
|
|
106
106
|
htmlLangElement?.setAttribute('lang', newLanguage);
|
|
107
|
+
// Translate elements in main html page
|
|
108
|
+
this.translate(document.body);
|
|
107
109
|
}
|
|
108
110
|
getFnTranslated(item, key) {
|
|
109
111
|
const fnName = item.getAttribute('i18nFn');
|