Files
leuschke-site/src/i18n/index.ts
Homér 04d9ea35f4
Some checks failed
Build and Deploy / build-and-deploy (push) Has been cancelled
feat: build leuschke.site with pixel design system, vue 3, tailwind
2026-05-13 12:48:05 +00:00

136 lines
6.8 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { ref } from 'vue'
export type Lang = 'de' | 'en'
export const currentLang = ref<Lang>('de')
export const t = (key: string): string => {
const translations = {
de: {
// Nav
'nav.home': 'Home',
'nav.about': 'Über Uns',
'nav.projects': 'Projekte',
'nav.blog': 'Blog',
'nav.contact': 'Kontakt',
'nav.impressum': 'Impressum',
'nav.light': 'Light',
'nav.dark': 'Dark',
// Home
'home.hero.title': 'LeuschkeDigital',
'home.hero.subtitle': 'Wir bauen die Zukunft mit KI.',
'home.hero.cta': 'Projekte entdecken',
'home.about.title': 'Über Uns',
'home.about.text': 'LeuschkeDigital ist ein digitales Unternehmen mit Fokus auf KI-gestützte Lösungen für Gründer, Gesundheitstechnologie und moderne Web-Infrastruktur. Wir glauben daran, dass Technologie allen zugänglich sein sollte.',
'home.projects.title': 'Unsere Projekte',
'home.projects.desc': 'Von Gründer-Plattformen bis HealthTech wir bauen Tools die etwas bewirken.',
'home.projects.roadmap': 'Roadmap',
// About
'about.title': 'Über Uns',
'about.subtitle': 'Warum wir Dinge tun',
'about.mission.title': 'Unsere Mission',
'about.mission.text': 'Wir wollen Technologie demokratisieren. Gründer sollen mit KI-Unterstützung ihre Ideen prüfen und entwickeln. Patienten sollen die Hoheit über ihre Gesundheitsdaten haben. Und Unternehmen sollen moderne, transparente Web-Lösungen nutzen können.',
'about.team.title': 'Das Team',
'about.team.jan': 'Jan Leuschke Gründer & CEO',
'about.team.homer': 'Homér Operative Struktur & KI-Infrastruktur',
'about.values.title': 'Unsere Werte',
'about.values.transparency': 'Transparenz in allem was wir bauen',
'about.values.autonomy': 'Daten-Autonomie für den Nutzer',
'about.values.openness': 'Open-Source wo immer möglich',
// Projects
'projects.title': 'Unsere Projekte',
'projects.subtitle': 'Eine Übersicht unserer aktuellen und geplanten Projekte',
'projects.roadmap': 'Roadmap',
'projects.leuschke.title': 'LeuschkeDigital Website',
'projects.leuschke.desc': 'Diese Corporate Website Unternehmenspräsentation, Blog & Projektübersicht.',
'projects.founderflow.title': 'Founderflow',
'projects.founderflow.desc': 'KI-Plattform für Gründer: Geschäftsidee prüfen, Business Model Canvas, Pitch Deck erstellen.',
'projects.medvault.title': 'MedVault',
'projects.medvault.desc': 'Elektronische Patientenakte mit Datenhoheit beim Patienten (Open Source).',
'projects.neuropilot.title': 'NeuroPilot',
'projects.neuropilot.desc': 'ADHS-Community und KI-gestützte Selbsthilfe-Plattform.',
'projects.consent.title': 'OpenConsent',
'projects.consent.desc': 'Patienteneinwilligungen für HealthTech, OIDC4VP-Standard (Open Source).',
'projects.status.done': 'Live',
'projects.status.active': 'Aktiv',
'projects.status.planned': 'Geplant',
// Contact
'contact.title': 'Kontakt',
'contact.subtitle': 'Schreib uns eine Nachricht',
'contact.name': 'Name',
'contact.email': 'E-Mail',
'contact.message': 'Nachricht',
'contact.send': 'Absenden',
'contact.success': 'Nachricht gesendet!',
// Impressum
'impressum.title': 'Impressum',
'impressum.info.title': 'Angaben gemäß § 5 TMG',
'impressum.name': 'Jan Leuschke',
'impressum.company': 'LeuschkeDigital',
'impressum.email': 'Kontakt: jan@leuschke.site',
},
en: {
'nav.home': 'Home',
'nav.about': 'About',
'nav.projects': 'Projects',
'nav.blog': 'Blog',
'nav.contact': 'Contact',
'nav.impressum': 'Imprint',
'nav.light': 'Light',
'nav.dark': 'Dark',
'home.hero.title': 'LeuschkeDigital',
'home.hero.subtitle': 'We build the future with AI.',
'home.hero.cta': 'Discover Projects',
'home.about.title': 'About Us',
'home.about.text': 'LeuschkeDigital is a digital company focused on AI-powered solutions for founders, health technology, and modern web infrastructure. We believe technology should be accessible to everyone.',
'home.projects.title': 'Our Projects',
'home.projects.desc': 'From founder platforms to HealthTech we build tools that make a difference.',
'home.projects.roadmap': 'Roadmap',
'about.title': 'About Us',
'about.subtitle': 'Why we do things',
'about.mission.title': 'Our Mission',
'about.mission.text': 'We want to democratize technology. Founders should be able to test and develop their ideas with AI support. Patients should have sovereignty over their health data. And companies should use modern, transparent web solutions.',
'about.team.title': 'The Team',
'about.team.jan': 'Jan Leuschke Founder & CEO',
'about.team.homer': 'Homér Operational Structure & AI Infrastructure',
'about.values.title': 'Our Values',
'about.values.transparency': 'Transparency in everything we build',
'about.values.autonomy': 'Data autonomy for the user',
'about.values.openness': 'Open-source wherever possible',
'projects.title': 'Our Projects',
'projects.subtitle': 'An overview of our current and planned projects',
'projects.roadmap': 'Roadmap',
'projects.leuschke.title': 'LeuschkeDigital Website',
'projects.leuschke.desc': 'This corporate website company presentation, blog & project overview.',
'projects.founderflow.title': 'Founderflow',
'projects.founderflow.desc': 'AI platform for founders: check business ideas, Business Model Canvas, create pitch decks.',
'projects.medvault.title': 'MedVault',
'projects.medvault.desc': 'Electronic patient records with data sovereignty at the patient (Open Source).',
'projects.neuropilot.title': 'NeuroPilot',
'projects.neuropilot.desc': 'ADHD community and AI-powered self-help platform.',
'projects.consent.title': 'OpenConsent',
'projects.consent.desc': 'Patient consent for HealthTech, OIDC4VP standard (Open Source).',
'projects.status.done': 'Live',
'projects.status.active': 'Active',
'projects.status.planned': 'Planned',
'contact.title': 'Contact',
'contact.subtitle': 'Send us a message',
'contact.name': 'Name',
'contact.email': 'Email',
'contact.message': 'Message',
'contact.send': 'Send',
'contact.success': 'Message sent!',
'impressum.title': 'Imprint',
'impressum.info.title': 'Information according to § 5 TMG',
'impressum.name': 'Jan Leuschke',
'impressum.company': 'LeuschkeDigital',
'impressum.email': 'Contact: jan@leuschke.site',
}
}
return (translations[currentLang.value] as Record<string, string>)?.[key] || key
}