diff --git a/dist/web/source/sitemap.xml b/dist/web/source/sitemap.xml
index 594030df7..dc92e7459 100644
--- a/dist/web/source/sitemap.xml
+++ b/dist/web/source/sitemap.xml
@@ -5,10 +5,58 @@
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
-
- https://web.imhex.werwolv.net/
- 2023-12-07T22:53:06+00:00
-
+
+ https://web.imhex.werwolv.net/
+ 2024-01-02T11:44:00+00:00
+ 1.00
+
+
+ English
+ https://web.imhex.werwolv.net?lang=en-US
+ 2024-01-02T11:44:00+00:00
+ 1.00
+
+
+ Deutsch
+ https://web.imhex.werwolv.net?lang=de-DE
+ 2024-01-02T11:44:00+00:00
+ 1.00
+
+
+ Português
+ https://web.imhex.werwolv.net?lang=pt-BR
+ 2024-01-02T11:44:00+00:00
+
+
+ 中国
+ https://web.imhex.werwolv.net?lang=zh-CN
+ 2024-01-02T11:44:00+00:00
+
+
+ 國語
+ https://web.imhex.werwolv.net?lang=zh-TW
+ 2024-01-02T11:44:00+00:00
+
+
+ 日本語
+ https://web.imhex.werwolv.net?lang=ja-JP
+ 2024-01-02T11:44:00+00:00
+
+
+ 한국어
+ https://web.imhex.werwolv.net?lang=ko-KR
+ 2024-01-02T11:44:00+00:00
+
+
+ Español
+ https://web.imhex.werwolv.net?lang=es-ES
+ 2024-01-02T11:44:00+00:00
+
+
+ Italiano
+ https://web.imhex.werwolv.net?lang=it-IT
+ 2024-01-02T11:44:00+00:00
+
\ No newline at end of file
diff --git a/dist/web/source/wasm-config.js b/dist/web/source/wasm-config.js
index caa16107b..a26337c0d 100644
--- a/dist/web/source/wasm-config.js
+++ b/dist/web/source/wasm-config.js
@@ -117,9 +117,17 @@ var Module = {
instantiateAsync(wasmBinary, wasmBinaryFile, imports, (result) => {
successCallback(result.instance, result.module)
});
- }
+ },
+ arguments: []
};
+// Handle passing arguments to the wasm module
+const queryString = window.location.search;
+const urlParams = new URLSearchParams(queryString);
+if (urlParams.has("lang")) {
+ Module["arguments"].push("--language");
+ Module["arguments"].push(urlParams.get("lang"));
+}
window.addEventListener('resize', js_resizeCanvas, false);
function js_resizeCanvas() {