-
Game Engine
-
A custom C++ game engine with Lua scripting integration.
+
+
- C++
- Lua
@@ -83,8 +82,8 @@
-
schwarzer-energie.de
-
Website for a chimney sweeping and energy certification business.
+
+
- HTML
- CSS
@@ -94,8 +93,8 @@
-
tarion.org
-
Personal portfolio showcasing my projects and development work.
+
+
- HTML
- CSS
@@ -105,8 +104,8 @@
-
LOV-8
-
A fantasy console built with LĂ–VE2D, featuring a sandboxed environment for developing games within strict limitations.
+
+
@@ -117,7 +116,7 @@
-
Skills
+
- C#
- C++
@@ -132,8 +131,8 @@
@@ -145,7 +144,7 @@
- © 2025 Tarion. All rights reserved.
+
diff --git a/languages/de-DE.json b/languages/de-DE.json
new file mode 100644
index 0000000..cc345c1
--- /dev/null
+++ b/languages/de-DE.json
@@ -0,0 +1,33 @@
+{
+ "site_title": "Tarions Portfolio",
+
+ "nav_home": "Startseite",
+ "nav_projects": "Projekte",
+ "nav_skills": "Fähigkeiten",
+ "nav_contact": "Kontakt",
+
+ "home_greeting": "Hey đź‘‹ Ich bin Tarion.",
+ "home_subtitle": "Spieleentwickler",
+ "home_description": "Derzeit entwickle ich ein Spiel mit der Unity-Engine.",
+
+ "projects_title": "Projekte",
+
+ "skills_title": "Fähigkeiten",
+
+ "contact_title": "Kontakt",
+ "contact_message": "Interesse an einer Zusammenarbeit? Schreib mir eine E-Mail ",
+
+ "footer_text": "© 2025 Tarion. Alle Rechte vorbehalten.",
+
+ "project_game_engine_title": "Game Engine",
+ "project_game_engine_description": "Eine benutzerdefinierte C++-Spiel-Engine mit Lua-Skripting-Integration.",
+
+ "project_schwarzer_title": "schwarzer-energie.de",
+ "project_schwarzer_description": "Website fĂĽr einen Schornsteinfeger- und Energieausweisbetrieb.",
+
+ "project_tarion_org_title": "tarion.org",
+ "project_tarion_org_description": "Persönliches Portfolio zur Präsentation meiner Projekte und Entwicklungsarbeit.",
+
+ "project_lov8_title": "LOV-8",
+ "project_lov8_description": "Eine Fantasy-Konsole, entwickelt mit LÖVE2D, mit einer abgeschotteten Umgebung zum Entwickeln von Spielen unter strengen Einschränkungen."
+}
\ No newline at end of file
diff --git a/languages/en.json b/languages/en.json
new file mode 100644
index 0000000..f51c262
--- /dev/null
+++ b/languages/en.json
@@ -0,0 +1,34 @@
+{
+ "site_title": "Tarions Portfolio",
+
+ "nav_home": "Home",
+ "nav_projects": "Projects",
+ "nav_skills": "Skills",
+ "nav_contact": "Contact",
+
+ "home_greeting": "Hey đź‘‹ I'm Tarion.",
+ "home_subtitle": "Game Programmer",
+ "home_description": "Currently developing a game using the Unity Engine.",
+
+ "projects_title": "Projects",
+
+ "skills_title": "Skills",
+
+ "contact_title": "Contact",
+ "contact_message": "Interested in working together? Send me an email ",
+
+ "footer_text": "© 2025 Tarion. All rights reserved.",
+
+
+ "project_game_engine_title": "Game Engine",
+ "project_game_engine_description": "A custom C++ game engine with Lua scripting integration.",
+
+ "project_schwarzer_title": "schwarzer-energie.de",
+ "project_schwarzer_description": "Website for a chimney sweeping and energy certification business.",
+
+ "project_tarion_org_title": "tarion.org",
+ "project_tarion_org_description": "Personal portfolio showcasing my projects and development work.",
+
+ "project_lov8_title": "LOV-8",
+ "project_lov8_description": "A fantasy console built with LĂ–VE2D, featuring a sandboxed environment for developing games within strict limitations."
+}
\ No newline at end of file
diff --git a/script.js b/script.js
index 8181623..6147cb0 100644
--- a/script.js
+++ b/script.js
@@ -72,3 +72,19 @@ document.addEventListener("DOMContentLoaded", () => {
})
})
})
+
+// Language support
+async function getLanguageData(lang){
+ const response = await fetch(`languages/${lang}.json`);
+ return response.json();
+}
+
+document.addEventListener("DOMContentLoaded", async () => {
+ const userLang = navigator.language || navigator.userLanguage;
+ const langData = await getLanguageData(userLang);
+
+ document.querySelectorAll("[data-i18n]").forEach((element) => {
+ const key = element.getAttribute("data-i18n");
+ element.innerHTML = langData[key];
+ });
+})
\ No newline at end of file