Files
breakpilot-core/pitch-deck/lib/i18n.ts
Benjamin Admin f514667ef9 feat: Modularer Baukasten + mitarbeiterbasiertes Pricing + Savings-ROI
Produkte: 8 Module als Baukasten (Code Security, CE-Risiko, Compliance-Docs,
Audit Manager, LLM, Academy, Jira, Full Compliance)
Pricing: nach MA (<50: 15k, 50-250: 30k, 250+: 40-50k EUR/Jahr)
Cloud Standard (BSI DE/OVH FR), Mac Mini nur fuer <10 MA

Geschaeftsmodell: ROI-Rechnung statt HW-Amortisation
(Kunde zahlt 40-50k, spart 50-110k: Pentests, CE, Auditmanager)

So funktioniert's: Cloud-Vertrag statt HW aufstellen,
Audit vorbereiten statt Audit bestehen

Competition: Pricing-Tiers auf Cloud-Modell umgestellt
FAQ: Alle 65+-Referenzen + alte Tier-Preise entfernt

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 18:10:11 +01:00

611 lines
23 KiB
TypeScript

import { Language } from './types'
const translations = {
de: {
nav: {
slides: 'Slides',
fullscreen: 'Vollbild',
language: 'Sprache',
},
slideNames: [
'Intro',
'Executive Summary',
'Cover',
'Das Problem',
'Die Lösung',
'Regulatorische Landschaft',
'Modularer Baukasten',
'So funktioniert\'s',
'Markt',
'Geschaeftsmodell',
'Traction',
'Wettbewerb',
'Team',
'Finanzen',
'The Ask',
'KI Q&A',
'Anhang: Annahmen',
'Anhang: Architektur',
'Anhang: Go-to-Market',
'Anhang: Regulatorik',
'Anhang: Engineering',
'Anhang: KI-Pipeline',
'Anhang: SDK Demo',
],
executiveSummary: {
title: 'Executive Summary',
subtitle: 'BreakPilot ComplAI — Ihr Investment auf einen Blick',
problem: 'Das Problem',
problemText: 'KMU im Maschinenbau (10-500 MA) wollen KI nutzen — aber nicht Microsoft Copilot oder Claude auf ihr Herzsteck lassen. Wer US-SaaS meidet, bleibt von der KI-Revolution abgeschnitten. Wer alles zu AWS oder Google schiebt, akzeptiert den Patriots Act. Gleichzeitig ueberfordern 5+ EU-Regularien die internen Teams.',
solution: 'Unsere Loesung',
solutionText: 'Kontinuierliche Code-Security statt jaehrlicher Stichproben: SAST, DAST, SBOM, Pentesting bei jeder Aenderung. VVT, TOMs, DSFA, Loeschfristen, CE-Risikobeurteilung automatisch. Audit-Abweichungen End-to-End: Rollen, Stichtage, Tickets, Nachweise, Eskalation an GF. Jira-Integration. Academy. BSI-Cloud DE oder OVH FR.',
roi: 'Kundenersparnis',
roiText: 'Kunden zahlen ca. 50.000 EUR/Jahr und sparen: 30.000 EUR Pentests, 20.000 EUR CE-Beurteilungen, Auditmanager-Kosten und Strafrisiko. ROI ab Tag 1.',
market: 'Markt',
businessModel: 'Geschaeftsmodell',
businessModelText: 'Kunden zahlen ~50.000 EUR/Jahr und sparen 50.000+ EUR (Pentests, CE-Beurteilungen, Auditmanager). ROI ab Tag 1. BSI-Cloud DE oder OVH FR.',
keyMetrics: 'Kennzahlen',
documents: 'Originaldokumente',
controls: 'Extrahierte Controls',
regulations: 'Regularien',
industries: 'Branchen',
linesOfCode: 'Lines of Code',
theAsk: 'Finanzierung',
round: 'Runde',
contact: 'Kontakt',
downloadPdf: 'Als PDF herunterladen',
usp: 'USP',
uspText: 'Einzige Plattform mit kontinuierlicher Code-Security, automatischer Compliance-Dokumentation und CE-Risikobeurteilung fuer den Maschinenbau — auf deutscher Cloud.',
},
cover: {
tagline: 'Compliance & Code-Security für den Maschinenbau',
subtitle: 'Pre-Seed · Q4 2026',
cta: 'Pitch starten',
},
problem: {
title: 'Das Problem',
subtitle: 'Maschinenbauer wollen KI nutzen — aber nicht um den Preis ihrer Datensouveraenitaet',
cards: [
{
title: 'KI-Dilemma',
stat: 'Abgehaengt',
desc: 'Maschinenbauer wollen KI nutzen, aber keinen Microsoft Copilot oder Claude auf ihr Herzstueck lassen. Angst vor Datenmissbrauch durch US-Konzerne ist real. Wer US-SaaS meidet, bleibt von der KI-Revolution abgeschnitten.',
},
{
title: 'Patriots Act',
stat: 'Kein Schutz',
desc: 'Die Alternative: Alles zu AWS, Google oder Microsoft schieben. Aber selbst europaeische Server der US-Player koennen ueber den Patriots Act abgesaugt werden. Deutsche KMU sitzen in der Falle.',
},
{
title: 'Regulierungs-Tsunami',
stat: '50.000+ EUR/Jahr',
desc: 'AI Act, NIS2, CRA, DSGVO, Maschinenverordnung — 5+ Gesetze gleichzeitig. Pentests und CE-Zertifizierungen kosten 50.000+ EUR/Jahr, pruefen aber nur einmal. KMU mit 10-500 MA haben weder Personal noch Budget.',
},
],
quote: 'Maschinenbauer brauchen eine KI-Loesung, die in Deutschland laeuft, ihren Code schuetzt und Compliance automatisiert — ohne ihre Daten an US-Konzerne zu geben.',
},
solution: {
title: 'Die Loesung',
subtitle: 'Kontinuierliche Software-Compliance statt jaehrlicher Stichproben',
pillars: [
{
title: 'Kontinuierliche Code-Security',
desc: 'SAST, DAST, SBOM und Pentesting bei jeder Code-Aenderung — nicht einmal im Jahr. Findings direkt als Jira-Tickets mit Implementierungsvorschlaegen. 30.000+ EUR/Jahr Pentest-Kosten gespart.',
icon: 'scan',
},
{
title: 'Compliance auf Autopilot',
desc: 'VVT, TOMs, DSFA, Loeschfristen, CE-Risikobeurteilung automatisch. Nach dem Audit: Haupt- und Nebenabweichungen End-to-End — Rollen zuweisen, Stichtage, Tickets, Nachweise einfordern, Eskalation an GF. Kein Excel, kein Hinterherlaufen.',
icon: 'bot',
},
{
title: 'Deutsche Cloud, volle Integration',
desc: 'BSI-zertifizierte Cloud in DE oder OVH in FR. Jitsi (Video), Matrix (Chat), KI-Aufgabenerstellung aus Audio. Keine US-SaaS im Source Code. Optional Mac Mini fuer maximale Privacy.',
icon: 'server',
},
],
},
regulatoryLandscape: {
title: 'Regulatorische Landschaft',
subtitle: '84 Regularien, 10 Branchen — eine Plattform',
documents: 'Originaldokumente',
controls: 'Extrahierte Controls',
regulations: 'Regularien',
industries: 'Branchen abgedeckt',
allIndustries: 'Alle Unternehmen',
maschinenbau: 'Maschinenbau',
health: 'Gesundheit',
finance: 'Finanzsektor',
ecommerce: 'E-Commerce',
tech: 'Technologie',
iot: 'IoT / Hardware',
ai: 'KI-Anbieter',
kritis: 'Krit. Infrastruktur',
media: 'Medien',
public: 'Oeffentl. Sektor',
categoryPrivacy: 'Datenschutz',
categoryCyber: 'Cybersicherheit',
categoryAI: 'KI-Regulierung',
categoryMarkets: 'Digitale Maerkte',
categoryProduct: 'Produktsicherheit',
categoryFinance: 'Finanzregulierung',
categoryHealth: 'Gesundheitsdaten',
categoryConsumer: 'Verbraucherschutz',
},
product: {
title: 'Modularer Baukasten',
subtitle: 'Kunden waehlen die Module, die sie brauchen — oder alles auf einmal',
monthly: '/Monat',
hardware: 'Hardware',
llm: 'KI-Modell',
popular: 'Beliebt',
features: 'Features',
pricingTitle: 'Pricing nach Unternehmensgroesse',
pricingSubtitle: 'Mitarbeiterbasiert — validiert am Markt',
cloud: 'Cloud-Loesung (Standard)',
cloudDesc: 'BSI-Cloud DE oder OVH FR. Fuer alle Unternehmensgroessen.',
privacy: 'Privacy-Hardware (optional)',
privacyDesc: 'Mac Mini / Studio fuer Kleinstunternehmen (<10 MA) mit absolutem Privacy-Bedarf.',
},
howItWorks: {
title: 'So funktioniert\'s',
subtitle: 'In 4 Schritten zur kontinuierlichen Compliance',
steps: [
{
title: 'Cloud-Vertrag abschliessen',
desc: 'BSI-zertifizierte Cloud in Deutschland oder OVH in Frankreich. Fixe oder flexible Kosten. Fuer Kleinstunternehmen optional: Mac Mini vorkonfiguriert.',
},
{
title: 'Code-Repos verbinden',
desc: 'Git-Repos, CI/CD Pipelines und Firmware-Projekte anbinden. Die KI scannt automatisch auf Schwachstellen und Compliance-Luecken — bei jeder Aenderung.',
},
{
title: 'Compliance & Security automatisieren',
desc: 'Kontinuierliche Code-Analyse, Pentesting und Risikoanalysen. VVT, TOMs, DSFA und CE-Dokumentation werden automatisch erstellt und aktualisiert.',
},
{
title: 'Audit vorbereiten',
desc: 'Alle Nachweise, Dokumente und Risikobeurteilungen auf Knopfdruck. Abweichungen nach dem Audit automatisch nachverfolgen mit Stichtagen und Eskalation.',
},
],
},
market: {
title: 'Marktchance',
subtitle: 'Der Maschinenbau braucht Compliance & Code-Security',
tam: 'TAM',
sam: 'SAM',
som: 'SOM',
tamLabel: 'Total Addressable Market',
samLabel: 'Serviceable Addressable Market',
somLabel: 'Serviceable Obtainable Market',
source: 'Quelle',
growth: 'Wachstum p.a.',
},
businessModel: {
title: 'Geschaeftsmodell',
subtitle: 'Modulares SaaS mit Savings-Argument',
unitEconomics: 'Unit Economics',
amortization: 'Amortisation',
margin: 'Marge',
months: 'Monate',
recurringRevenue: 'Recurring Revenue',
hardwareCost: 'Hardware-EK',
operatingCost: 'Betriebskosten',
customerSaves: 'Kunde spart',
customerPays: 'Kunde zahlt',
savingsPentest: 'Pentests',
savingsCE: 'CE-Beurteilungen',
savingsAudit: 'Auditmanager',
savingsTotal: 'Ersparnis',
},
traction: {
title: 'Traction & Meilensteine',
subtitle: 'Unser bisheriger Fortschritt',
completed: 'Abgeschlossen',
inProgress: 'In Arbeit',
planned: 'Geplant',
},
competition: {
title: 'Wettbewerb',
subtitle: '44 Features, 9 USPs — kein Anbieter kombiniert DSGVO + Code-Security + Self-Hosted KI',
feature: 'Feature',
selfHosted: 'Self-Hosted',
integratedAI: 'Integrierte KI',
autonomousSupport: 'Autonomer Support',
yes: 'Ja',
no: 'Nein',
partial: 'Teilweise',
},
team: {
title: 'Das Team',
subtitle: 'Gründer mit Domain-Expertise',
equity: 'Equity',
expertise: 'Expertise',
},
financials: {
title: 'Finanzprognose',
subtitle: 'AI-First Kostenstruktur — skaliert ohne lineares Personalwachstum',
revenue: 'Umsatz',
costs: 'Kosten',
customers: 'Kunden',
mrr: 'MRR',
arr: 'ARR',
burnRate: 'Burn Rate',
employees: 'Mitarbeiter',
year: 'Jahr',
sliderGrowth: 'Wachstumsrate',
sliderChurn: 'Churn Rate',
sliderArpu: 'ARPU',
adjustAssumptions: 'Annahmen anpassen',
},
theAsk: {
title: 'The Ask',
subtitle: 'Pre-Seed Finanzierung',
amount: 'Funding',
instrument: 'Instrument',
useOfFunds: 'Use of Funds',
engineering: 'Engineering',
sales: 'Vertrieb',
hardware: 'Hardware',
legal: 'Legal',
reserve: 'Reserve',
targetDate: 'Zieldatum',
},
aiqa: {
title: 'Fragen? Die KI antwortet.',
subtitle: 'Stellen Sie Ihre Investorenfragen — unser AI Agent antwortet mit Echtdaten.',
placeholder: 'Stellen Sie eine Frage zum Investment...',
send: 'Senden',
thinking: 'Denke nach...',
suggestions: [
'Wie funktioniert die Code-Security für Firmware?',
'Warum können Proliance und DataGuard das nicht?',
'Was kostet die Lösung für einen Maschinenbauer?',
'Wie sieht die Risikoanalyse für unsere Software aus?',
],
},
annex: {
assumptions: {
title: 'Annahmen & Sensitivität',
subtitle: 'Drei Szenarien für robuste Planung',
},
architecture: {
title: 'Technische Architektur',
subtitle: 'Self-Hosted KI-Stack für maximale Datensouveränität',
},
gtm: {
title: 'Go-to-Market Strategie',
subtitle: 'Vom Pilot zum skalierbaren Vertrieb',
},
regulatory: {
title: 'Regulatorische Details',
subtitle: 'Die vier Säulen der EU-Compliance für Maschinenbauer',
},
engineering: {
title: 'Engineering Deep Dive',
subtitle: '761K Zeilen Code \u00b7 45 Container \u00b7 100% Self-Hosted',
},
aipipeline: {
title: 'KI-Pipeline Deep Dive',
subtitle: 'RAG \u00b7 Multi-Agent-System \u00b7 Document Intelligence \u00b7 Quality Assurance',
},
},
},
en: {
nav: {
slides: 'Slides',
fullscreen: 'Fullscreen',
language: 'Language',
},
slideNames: [
'Intro',
'Executive Summary',
'Cover',
'The Problem',
'The Solution',
'Regulatory Landscape',
'Modular Toolkit',
'How It Works',
'Market',
'Business Model',
'Traction',
'Competition',
'Team',
'Financials',
'The Ask',
'AI Q&A',
'Appendix: Assumptions',
'Appendix: Architecture',
'Appendix: Go-to-Market',
'Appendix: Regulatory',
'Appendix: Engineering',
'Appendix: AI Pipeline',
'Appendix: SDK Demo',
],
executiveSummary: {
title: 'Executive Summary',
subtitle: 'BreakPilot ComplAI — Your Investment at a Glance',
problem: 'The Problem',
problemText: 'SME machine manufacturers (10-500 employees) want to use AI — but refuse Microsoft Copilot or Claude on their core IP. Those avoiding US SaaS are cut off from the AI revolution. Those pushing to AWS or Google accept the Patriot Act. Meanwhile, 5+ EU regulations overwhelm internal teams.',
solution: 'Our Solution',
solutionText: 'Continuous code security instead of annual spot checks: SAST, DAST, SBOM, pentesting on every change. RoPA, TOMs, DPIA, retention policies, CE risk assessment automatically. Audit deviations end-to-end: roles, deadlines, tickets, evidence, escalation to management. Jira integration. Academy. BSI cloud DE or OVH FR.',
roi: 'Customer Savings',
roiText: 'Customers pay ~EUR 50,000/year and save: EUR 30,000 pentests, EUR 20,000 CE assessments, audit manager costs and penalty risk. ROI from day 1.',
market: 'Market',
businessModel: 'Business Model',
businessModelText: 'Customers pay ~EUR 50,000/year and save EUR 50,000+ (pentests, CE assessments, audit managers). ROI from day 1. BSI cloud DE or OVH FR.',
keyMetrics: 'Key Metrics',
documents: 'Original Documents',
controls: 'Extracted Controls',
regulations: 'Regulations',
industries: 'Industries',
linesOfCode: 'Lines of Code',
theAsk: 'Funding',
round: 'Round',
contact: 'Contact',
downloadPdf: 'Download as PDF',
usp: 'USP',
uspText: 'Only platform with continuous code security, automatic compliance documentation and CE risk assessment for manufacturing — on German cloud.',
},
cover: {
tagline: 'Compliance & Code Security for Machine Manufacturers',
subtitle: 'Pre-Seed · Q4 2026',
cta: 'Start Pitch',
},
problem: {
title: 'The Problem',
subtitle: 'Machine manufacturers want AI — but not at the cost of their data sovereignty',
cards: [
{
title: 'AI Dilemma',
stat: 'Left Behind',
desc: 'Machine manufacturers want to use AI but refuse Microsoft Copilot or Claude on their core IP. Fear of data misuse by US corporations is real. Those avoiding US SaaS are cut off from the AI revolution.',
},
{
title: 'Patriot Act',
stat: 'No Protection',
desc: 'The alternative: push everything to AWS, Google or Microsoft. But even European servers of US players can be accessed via the Patriot Act. German SMEs are trapped.',
},
{
title: 'Regulation Tsunami',
stat: 'EUR 50,000+/yr',
desc: 'AI Act, NIS2, CRA, GDPR, Machinery Regulation — 5+ laws simultaneously. Pentests and CE certifications cost EUR 50,000+/year but only check once. SMEs with 10-500 employees lack staff and budget.',
},
],
quote: 'Machine manufacturers need an AI solution that runs in Germany, protects their code and automates compliance — without giving their data to US corporations.',
},
solution: {
title: 'The Solution',
subtitle: 'Continuous software compliance instead of annual spot checks',
pillars: [
{
title: 'Continuous Code Security',
desc: 'SAST, DAST, SBOM and pentesting on every code change — not once a year. Findings as Jira tickets with implementation suggestions. EUR 30,000+/year pentest costs saved.',
icon: 'scan',
},
{
title: 'Compliance on Autopilot',
desc: 'RoPA, TOMs, DPIA, retention policies, CE risk assessment generated automatically. Post-audit: major and minor deviations end-to-end — role assignment, deadlines, tickets, evidence collection, escalation to management. No Excel, no chasing.',
icon: 'bot',
},
{
title: 'German Cloud, Full Integration',
desc: 'BSI-certified cloud in DE or OVH in FR. Jitsi (video), Matrix (chat), AI task creation from audio. No US SaaS in source code. Optional Mac Mini for maximum privacy.',
icon: 'server',
},
],
},
regulatoryLandscape: {
title: 'Regulatory Landscape',
subtitle: '84 regulations, 10 industries — one platform',
documents: 'Original Documents',
controls: 'Extracted Controls',
regulations: 'Regulations',
industries: 'Industries Covered',
allIndustries: 'All Companies',
maschinenbau: 'Manufacturing',
health: 'Healthcare',
finance: 'Finance',
ecommerce: 'E-Commerce',
tech: 'Technology',
iot: 'IoT / Hardware',
ai: 'AI Providers',
kritis: 'Critical Infra.',
media: 'Media',
public: 'Public Sector',
categoryPrivacy: 'Data Privacy',
categoryCyber: 'Cybersecurity',
categoryAI: 'AI Regulation',
categoryMarkets: 'Digital Markets',
categoryProduct: 'Product Safety',
categoryFinance: 'Financial Reg.',
categoryHealth: 'Health Data',
categoryConsumer: 'Consumer Prot.',
},
product: {
title: 'Modular Toolkit',
subtitle: 'Customers choose the modules they need — or everything at once',
monthly: '/month',
hardware: 'Hardware',
llm: 'AI Model',
popular: 'Popular',
features: 'Features',
pricingTitle: 'Pricing by Company Size',
pricingSubtitle: 'Employee-based — market validated',
cloud: 'Cloud Solution (Standard)',
cloudDesc: 'BSI cloud DE or OVH FR. For all company sizes.',
privacy: 'Privacy Hardware (optional)',
privacyDesc: 'Mac Mini / Studio for micro businesses (<10 employees) with absolute privacy needs.',
},
howItWorks: {
title: 'How It Works',
subtitle: 'Continuous compliance in 4 steps',
steps: [
{
title: 'Sign Cloud Contract',
desc: 'BSI-certified cloud in Germany or OVH in France. Fixed or flexible costs. For micro businesses optionally: pre-configured Mac Mini.',
},
{
title: 'Connect Code Repos',
desc: 'Connect Git repos, CI/CD pipelines and firmware projects. The AI automatically scans for vulnerabilities and compliance gaps — on every change.',
},
{
title: 'Automate Compliance & Security',
desc: 'Continuous code analysis, pentesting and risk assessments. RoPA, TOMs, DPIA and CE documentation are automatically created and updated.',
},
{
title: 'Prepare for Audit',
desc: 'All evidence, documents and risk assessments at the push of a button. Post-audit deviations automatically tracked with deadlines and escalation.',
},
],
},
market: {
title: 'Market Opportunity',
subtitle: 'Machine manufacturing needs compliance & code security',
tam: 'TAM',
sam: 'SAM',
som: 'SOM',
tamLabel: 'Total Addressable Market',
samLabel: 'Serviceable Addressable Market',
somLabel: 'Serviceable Obtainable Market',
source: 'Source',
growth: 'Growth p.a.',
},
businessModel: {
title: 'Business Model',
subtitle: 'Modular SaaS with Savings Argument',
unitEconomics: 'Unit Economics',
amortization: 'Amortization',
margin: 'Margin',
months: 'months',
recurringRevenue: 'Recurring Revenue',
hardwareCost: 'Hardware Cost',
operatingCost: 'Operating Cost',
customerSaves: 'Customer Saves',
customerPays: 'Customer Pays',
savingsPentest: 'Pentests',
savingsCE: 'CE Assessments',
savingsAudit: 'Audit Manager',
savingsTotal: 'Total Savings',
},
traction: {
title: 'Traction & Milestones',
subtitle: 'Our progress so far',
completed: 'Completed',
inProgress: 'In Progress',
planned: 'Planned',
},
competition: {
title: 'Competition',
subtitle: '44 features, 9 USPs — no provider combines GDPR + code security + self-hosted AI',
feature: 'Feature',
selfHosted: 'Self-Hosted',
integratedAI: 'Integrated AI',
autonomousSupport: 'Autonomous Support',
yes: 'Yes',
no: 'No',
partial: 'Partial',
},
team: {
title: 'The Team',
subtitle: 'Founders with domain expertise',
equity: 'Equity',
expertise: 'Expertise',
},
financials: {
title: 'Financial Projections',
subtitle: 'AI-First cost structure — scales without linear headcount growth',
revenue: 'Revenue',
costs: 'Costs',
customers: 'Customers',
mrr: 'MRR',
arr: 'ARR',
burnRate: 'Burn Rate',
employees: 'Employees',
year: 'Year',
sliderGrowth: 'Growth Rate',
sliderChurn: 'Churn Rate',
sliderArpu: 'ARPU',
adjustAssumptions: 'Adjust Assumptions',
},
theAsk: {
title: 'The Ask',
subtitle: 'Pre-Seed Funding',
amount: 'Funding',
instrument: 'Instrument',
useOfFunds: 'Use of Funds',
engineering: 'Engineering',
sales: 'Sales',
hardware: 'Hardware',
legal: 'Legal',
reserve: 'Reserve',
targetDate: 'Target Date',
},
aiqa: {
title: 'Questions? The AI answers.',
subtitle: 'Ask your investor questions — our AI agent responds with real data.',
placeholder: 'Ask a question about the investment...',
send: 'Send',
thinking: 'Thinking...',
suggestions: [
'How does code security work for firmware?',
'Why can\'t Proliance and DataGuard do this?',
'What does the solution cost for a machine manufacturer?',
'What does the risk assessment for our software look like?',
],
},
annex: {
assumptions: {
title: 'Assumptions & Sensitivity',
subtitle: 'Three scenarios for robust planning',
},
architecture: {
title: 'Technical Architecture',
subtitle: 'Self-hosted AI stack for maximum data sovereignty',
},
gtm: {
title: 'Go-to-Market Strategy',
subtitle: 'From pilot to scalable sales',
},
regulatory: {
title: 'Regulatory Details',
subtitle: 'The four pillars of EU compliance for machine manufacturers',
},
engineering: {
title: 'Engineering Deep Dive',
subtitle: '761K Lines of Code \u00b7 45 Containers \u00b7 100% Self-Hosted',
},
aipipeline: {
title: 'AI Pipeline Deep Dive',
subtitle: 'RAG \u00b7 Multi-Agent System \u00b7 Document Intelligence \u00b7 Quality Assurance',
},
},
},
}
export function t(lang: Language): typeof translations.de {
return translations[lang]
}
export function formatEur(value: number, lang: Language): string {
if (value >= 1_000_000_000) {
const v = (value / 1_000_000_000).toFixed(1)
return lang === 'de' ? `${v} Mrd. EUR` : `EUR ${v}B`
}
if (value >= 1_000_000) {
const v = (value / 1_000_000).toFixed(1)
return lang === 'de' ? `${v} Mio. EUR` : `EUR ${v}M`
}
if (value >= 1_000) {
const v = (value / 1_000).toFixed(0)
return lang === 'de' ? `${v}k EUR` : `EUR ${v}k`
}
return lang === 'de' ? `${value} EUR` : `EUR ${value}`
}
export function formatNumber(value: number): string {
return new Intl.NumberFormat('de-DE').format(value)
}
export default translations