-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlang.js
More file actions
257 lines (227 loc) · 12.9 KB
/
lang.js
File metadata and controls
257 lines (227 loc) · 12.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
// Language translations for the portfolio
const translations = {
en: {
// Hero Section
hero_headline: "Restoring Order to Chaos.",
hero_headline_part1: "Restoring Order to ",
hero_subheadline: "IT Generalist | Tool Developer | Problem Solver.",
hero_cta: "Initialize Profile",
// Navigation
nav_projects: "Projects",
nav_about: "About",
nav_contact: "Contact Me",
// SaveState Section
savestate_title: "SaveState",
savestate_subtitle: "Automated Save Management Tool (Windows/Linux)",
savestate_downloads: "4,300+ Downloads",
savestate_stars: "360+ GitHub Stars",
savestate_signed: "Digitally Signed by",
savestate_featured: "Featured on:",
savestate_covered: "Covered by YouTuber",
savestate_subs: "(225k+ subs)",
savestate_desc: "A zero-config backup tool for PC games. Solves data corruption and syncs via Cloud (Google Drive, WebDAV, FTP).",
savestate_github: "GitHub Repo",
savestate_website: "Website",
// Xtool Project Section
xtool_title: "Xemu Tools Project",
xtool_subtitle: "Private Research // Classified",
// Xemu Tools Section
xemu_badge: "CLASSIFIED",
xemu_title: "Xemu Tools",
xemu_codename: "(Code Name)",
xemu_subtitle: "Low-level Xbox HDD Manipulation",
xemu_desc: "An advanced Python-based research project (currently 6 months in development). It performs surgical extraction and restoration of save files directly from Xbox HDD images (FATX file system) without mounting the drive.",
xemu_tech: "Tech Highlight:",
xemu_tech_desc: "Handles FAT16/32 clustering, orphaned clusters, and smart adjacency fixes. Currently running 100+ daily automated tests.",
xemu_status: "Status:",
xemu_status_value: "Private Alpha / Research Prototype",
// Luna's Apartment Section
luna_title: "Luna's Apartment",
luna_subtitle: "Live B&B Booking Platform",
luna_desc: "A full-featured booking website for a real bed & breakfast property.",
luna_feature: "Key Feature:",
luna_feature_desc: "Custom mobile-responsive Admin Panel allowing the owner to change prices and availability in real-time from a smartphone.",
luna_visit: "Visit Site",
// SaveState Android Section
android_title: "SaveState Android",
android_subtitle: "Mobile Ecosystem Port",
android_desc: "The mobile porting of the main desktop application to the Android ecosystem. Bringing save management to handheld gaming devices.",
android_status: "Status:",
android_status_value: "In Development",
android_github: "GitHub Repo",
// Demo Section
demo_hint_drag: "Drag the game into SaveState",
popup_found: "Save Path Found!",
popup_ok: "OK",
// Certifications Section
cert_title: "Game Design Certifications",
cert_subtitle: "Professional training from Digital Bros Game Academy",
cert_level1_title: "Level 1 - Foundations",
cert_level1_date: "Completed: June 2023",
cert_level1_skill1: "• Game Design Principles",
cert_level1_skill2: "• Game Analysis & Paper Prototyping",
cert_level1_skill3: "• Unity Basics & Documentation Skills",
cert_level1_skill4: "• Mobile Game Design",
cert_level2_title: "Level 2 - Development",
cert_level2_date: "Completed: October 2023",
cert_level2_skill1: "• Prototyping in Unity",
cert_level2_skill2: "• Game Development in a Team",
cert_level2_skill3: "• UX Design & System Design",
cert_level2_skill4: "• Core Industry Design Principles",
cert_level3_title: "Level 3 - Advanced",
cert_level3_date: "Completed: March 2024",
cert_level3_skill1: "• Portfolio Creation & User Testing",
cert_level3_skill2: "• Advanced Game Engine Skills",
cert_level3_skill3: "• Progression & Economy Balancing",
cert_level3_skill4: "• Design Psychology & Production Cycle",
// About Section (Home)
about_title: "The IT Paradox",
about_text: "I bridge the gap between complex logic and user simplicity. While I don't fit the traditional 'programmer' box, I reverse-engineer file systems, build cloud sync tools, and solve hardware-level data problems.",
about_contact: "Get In Touch",
// About Page (Detailed)
about_intro_highlight: "Crafting systems, refining experiences, and solving the \"impossible\".",
about_p1: "My background is in Game Design, but my skillset goes far beyond the editor. I am a Technical Problem Solver and IT Generalist who bridges the gap between creative vision and functional reality.",
about_p2: "I don't just design rules; I build the tools that make them playable. With professional training from the Digital Bros Game Academy and a deep understanding of hardware/software architecture, I specialize in Player Experience (UX) and System Logic.",
about_approach_title: "My approach:",
about_approach_1_title: "Builder Mindset:",
about_approach_1_text: " I leverage AI-augmented workflows and reverse engineering to create robust tools like SaveState (4,000+ users), solving real pain points for the PC gaming community.",
about_approach_2_title: "Quality Obsessed:",
about_approach_2_text: " My passion for \"breaking\" software makes me exceptional at testing, debugging, and optimizing user flows until they are bulletproof.",
about_outro_text: "Whether it's designing a gameplay loop, securing a local network, or building a web platform, I bring the same level of obsessive detail and creative problem-solving. ",
about_outro_highlight: "Currently relocating to Germany and ready to build.",
// Context Menu
menu_language: "Language",
menu_english: "English",
menu_german: "Deutsch",
// Footer
footer_built: "Built with precision.",
footer_tagline: "IT Generalist & Tool Developer. Restoring order to chaos, one system at a time.",
footer_nav_title: "Navigation",
footer_projects_title: "Projects",
footer_back_top: "Back to top",
},
de: {
// Hero Section
hero_headline: "Ordnung aus dem Chaos.",
hero_headline_part1: "Ordnung aus dem ",
hero_subheadline: "IT-Generalist | Tool-Entwickler | Problemlöser.",
hero_cta: "Profil Initialisieren",
// Navigation
nav_projects: "Projekte",
nav_about: "Über mich",
nav_contact: "Kontakt",
// SaveState Section
savestate_title: "SaveState",
savestate_subtitle: "Automatisiertes Speicherverwaltungstool (Windows/Linux)",
savestate_downloads: "4.300+ Downloads",
savestate_stars: "360+ GitHub-Sterne",
savestate_signed: "Digital signiert von",
savestate_featured: "Vorgestellt auf:",
savestate_covered: "Vorgestellt vom YouTuber",
savestate_subs: "(225k+ Abonnenten)",
savestate_desc: "Ein konfigurationsfreies Backup-Tool für PC-Spiele. Löst Datenkorruption und synchronisiert über Cloud (Google Drive, WebDAV, FTP).",
savestate_github: "GitHub-Repo",
savestate_website: "Webseite",
// Xtool Project Section
xtool_title: "Xemu Tools Project",
xtool_subtitle: "Private Forschung // Vertraulich",
// Xemu Tools Section
xemu_badge: "VERTRAULICH",
xemu_title: "Xemu Tools",
xemu_codename: "(Codename)",
xemu_subtitle: "Low-Level Xbox-HDD-Manipulation",
xemu_desc: "Ein fortgeschrittenes Python-basiertes Forschungsprojekt (derzeit 6 Monate in Entwicklung). Es führt chirurgische Extraktion und Wiederherstellung von Speicherdateien direkt aus Xbox-HDD-Images (FATX-Dateisystem) ohne Laufwerksmontage durch.",
xemu_tech: "Technisches Highlight:",
xemu_tech_desc: "Behandelt FAT16/32-Clustering, verwaiste Cluster und intelligente Adjacency-Fixes. Führt derzeit 100+ tägliche automatisierte Tests durch.",
xemu_status: "Status:",
xemu_status_value: "Private Alpha / Forschungsprototyp",
// Luna's Apartment Section
luna_title: "Luna's Apartment",
luna_subtitle: "Live B&B-Buchungsplattform",
luna_desc: "Eine voll ausgestattete Buchungswebsite für eine echte Bed & Breakfast-Unterkunft.",
luna_feature: "Hauptmerkmal:",
luna_feature_desc: "Benutzerdefiniertes mobiles Admin-Panel, das dem Eigentümer ermöglicht, Preise und Verfügbarkeit in Echtzeit vom Smartphone aus zu ändern.",
luna_visit: "Seite Besuchen",
// SaveState Android Section
android_title: "SaveState Android",
android_subtitle: "Mobile Ökosystem-Port",
android_desc: "Die mobile Portierung der Desktop-Anwendung auf das Android-Ökosystem. Bringt Speicherverwaltung auf tragbare Gaming-Geräte.",
android_status: "Status:",
android_status_value: "In Entwicklung",
android_github: "GitHub Repo",
// Demo Section
demo_hint_drag: "Ziehe das Spiel in SaveState",
popup_found: "Speicherpfad gefunden!",
popup_ok: "OK",
// Certifications Section
cert_title: "Game Design Zertifizierungen",
cert_subtitle: "Professionelle Ausbildung von der Digital Bros Game Academy",
cert_level1_title: "Level 1 - Grundlagen",
cert_level1_date: "Abgeschlossen: Juni 2023",
cert_level1_skill1: "• Game Design Prinzipien",
cert_level1_skill2: "• Spielanalyse & Paper Prototyping",
cert_level1_skill3: "• Unity Grundlagen & Dokumentation",
cert_level1_skill4: "• Mobile Game Design",
cert_level2_title: "Level 2 - Entwicklung",
cert_level2_date: "Abgeschlossen: Oktober 2023",
cert_level2_skill1: "• Prototyping in Unity",
cert_level2_skill2: "• Spielentwicklung im Team",
cert_level2_skill3: "• UX Design & System Design",
cert_level2_skill4: "• Kern-Industrie Design Prinzipien",
cert_level3_title: "Level 3 - Fortgeschritten",
cert_level3_date: "Abgeschlossen: März 2024",
cert_level3_skill1: "• Portfolio-Erstellung & User Testing",
cert_level3_skill2: "• Fortgeschrittene Game Engine Skills",
cert_level3_skill3: "• Progression & Economy Balancing",
cert_level3_skill4: "• Design-Psychologie & Produktionszyklus",
// About Section (Home)
about_title: "Das IT-Paradoxon",
about_text: "Ich überbrücke die Kluft zwischen komplexer Logik und Benutzerfreundlichkeit. Obwohl ich nicht in die traditionelle 'Programmierer'-Schublade passe, reverse-engineere ich Dateisysteme, baue Cloud-Sync-Tools und löse Datenprobleme auf Hardware-Ebene.",
about_contact: "Kontakt Aufnehmen",
// About Page (Detailed)
about_intro_highlight: "Systeme entwerfen, Erfahrungen verfeinern und das \"Unmögliche\" lösen.",
about_p1: "Mein Hintergrund liegt im Game Design, aber meine Fähigkeiten gehen weit über den Editor hinaus. Ich bin ein technischer Problemlöser und IT-Generalist, der die Brücke zwischen kreativer Vision und funktionaler Realität schlägt.",
about_p2: "Ich entwerfe nicht nur Regeln; ich baue die Werkzeuge, die sie spielbar machen. Mit professioneller Ausbildung von der Digital Bros Game Academy und einem tiefen Verständnis für Hardware-/Softwarearchitektur spezialisiere ich mich auf Player Experience (UX) und Systemlogik.",
about_approach_title: "Mein Ansatz:",
about_approach_1_title: "Builder-Mindset:",
about_approach_1_text: " Ich nutze KI-gestützte Workflows und Reverse Engineering, um robuste Tools wie SaveState (4.000+ Nutzer) zu erstellen und echte Probleme der PC-Gaming-Community zu lösen.",
about_approach_2_title: "Qualitätsbesessen:",
about_approach_2_text: " Meine Leidenschaft dafür, Software zu \"brechen\", macht mich außergewöhnlich gut im Testen, Debuggen und Optimieren von User Flows, bis sie kugelsicher sind.",
about_outro_text: "Ob es um das Design eines Gameplay-Loops, die Sicherung eines lokalen Netzwerks oder den Aufbau einer Webplattform geht, ich bringe das gleiche Maß an obsessiver Detailgenauigkeit und kreativer Problemlösung ein. ",
about_outro_highlight: "Derzeit ziehe ich nach Deutschland um und bin bereit, Neues zu bauen.",
// Context Menu
menu_language: "Sprache",
menu_english: "English",
menu_german: "Deutsch",
// Footer
footer_built: "Mit Präzision gebaut.",
footer_tagline: "IT-Generalist & Tool-Entwickler. Ordnung aus dem Chaos, ein System nach dem anderen.",
footer_nav_title: "Navigation",
footer_projects_title: "Projekte",
footer_back_top: "Nach oben",
}
};
// Current language state
let currentLang = localStorage.getItem('portfolio_lang') || 'en';
// Function to update all translatable elements
function updateLanguage(lang) {
currentLang = lang;
localStorage.setItem('portfolio_lang', lang);
document.querySelectorAll('[data-i18n]').forEach(el => {
const key = el.getAttribute('data-i18n');
if (translations[lang] && translations[lang][key]) {
el.textContent = translations[lang][key];
}
});
// Update lang attribute on html element
document.documentElement.lang = lang;
// Update mobile toggle indicator
const toggleIndicator = document.querySelector('.lang-toggle-indicator');
if (toggleIndicator) {
toggleIndicator.textContent = lang.toUpperCase();
}
}
// Initialize language on page load
document.addEventListener('DOMContentLoaded', () => {
updateLanguage(currentLang);
});