Skip to content

Commit 9d35b71

Browse files
Mlaz-codeclaude
andcommitted
docs(i18n): add Spanish, Portuguese (BR), and German translations
177 translated MDX + _meta.js files across content/{es,pt-BR,de}/, generated by scripts/translate-content.mjs against content/en/. Each locale tree mirrors the English structure (59 files: 53 MDX pages + 6 _meta.js sidebar configs). The build does not yet emit /es, /pt-BR, /de routes — generateStaticParams in app/[lang]/layout.tsx still returns only en. The follow-up commit flips the switch. This separation lets the content land independently of the public locale rollout. Translation preserves code blocks, JSX components, frontmatter keys, URLs, API endpoint paths, header names, parameter names, brand names, and library identifiers verbatim. Internal /en/ links in source are rewritten to /{locale}/ in each translated copy so cross-page nav stays within the page's own locale tree. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ed70285 commit 9d35b71

177 files changed

Lines changed: 43534 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

content/de/_meta.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export default {
2+
index: "Einführung",
3+
quickstart: "Schnellstart",
4+
authentication: "Authentifizierung",
5+
pricing: "Preise",
6+
"api-reference": "API-Referenz",
7+
streaming: "Streaming",
8+
concepts: "Grundkonzepte",
9+
sdks: "SDKs",
10+
examples: "Beispiele",
11+
}

content/de/api-reference/_meta.js

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
export default {
2+
overview: "Übersicht",
3+
conventions: "Antwortkonventionen",
4+
"---Reference": {
5+
type: "separator",
6+
title: "Referenzdaten",
7+
},
8+
sports: "Sportarten",
9+
leagues: "Ligen",
10+
sportsbooks: "Sportsbooks",
11+
markets: "Märkte",
12+
"---Odds": {
13+
type: "separator",
14+
title: "Quoten",
15+
},
16+
odds: "Quoten-Snapshot",
17+
"odds-delta": "Quoten-Delta",
18+
"odds-best": "Beste Quoten",
19+
"odds-comparison": "Quotenvergleich",
20+
"odds-batch": "Batch-Quoten",
21+
"odds-closing": "Schlussquote",
22+
"---Teams": {
23+
type: "separator",
24+
title: "Teams",
25+
},
26+
teams: "Teams",
27+
"---Events": {
28+
type: "separator",
29+
title: "Events",
30+
},
31+
events: "Events",
32+
"events-by-id": "Event-Details",
33+
"events-odds": "Event-Quoten",
34+
"events-markets": "Event-Märkte",
35+
"---Splits": {
36+
type: "separator",
37+
title: "Wettverteilung",
38+
},
39+
splits: "Wettverteilung",
40+
"---LiveGameState": {
41+
type: "separator",
42+
title: "Live-Spielstand",
43+
},
44+
gamestate: "Live-Spielstand",
45+
"---Opportunities": {
46+
type: "separator",
47+
title: "Möglichkeiten",
48+
},
49+
"opportunities-ev": "+EV-Möglichkeiten",
50+
"opportunities-arbitrage": "Arbitrage",
51+
"opportunities-middles": "Middles",
52+
"opportunities-middles-summary": "Middles-Zusammenfassung",
53+
"opportunities-low-hold": "Low Hold",
54+
"---DeepLinks": {
55+
type: "separator",
56+
title: "Deep Links",
57+
},
58+
deeplinks: "Deep Links",
59+
"---Streaming": {
60+
type: "separator",
61+
title: "Streaming",
62+
},
63+
stream: "SSE-Stream",
64+
websocket: "WebSocket-Stream",
65+
"---Account": {
66+
type: "separator",
67+
title: "Konto",
68+
},
69+
account: "Kontoinformationen",
70+
"account-usage": "Nutzungsstatistiken",
71+
"account-keys": "API-Key-Verwaltung",
72+
"---Historical": {
73+
type: "separator",
74+
title: "Historisch (Sharp+)",
75+
},
76+
"historical-clv": "Closing Line Value (CLV)",
77+
"historical-odds-closing": "Schlussquoten nach Datum",
78+
"---Enterprise": {
79+
type: "separator",
80+
title: "Enterprise",
81+
},
82+
enterprise: "Enterprise-Endpoints",
83+
"---Internal": {
84+
type: "separator",
85+
title: "Intern",
86+
},
87+
health: "Health Check",
88+
}

0 commit comments

Comments
 (0)