tractatus/public/locales/en/homepage.json
TheFlow 31ed5b8a77 feat(i18n): add footer and privacy page translations (en/de/fr)
SUMMARY:
Implemented complete internationalization for footer component and
privacy page across English, German, and French languages.

CHANGES:

1. Privacy Page Translations (3 files):
   - Created locales/en/privacy.json (baseline)
   - Created locales/de/privacy.json (German - Datenschutzerklärung)
   - Created locales/fr/privacy.json (French - Politique de confidentialité)
   - All 11 sections + Te Tiriti fully translated

2. Footer i18n Enhancement:
   - Rewrote footer.js with data-i18n attributes
   - Added languageChanged event listener for dynamic updates
   - Expanded homepage.json footer translations (en/de/fr)
   - Footer now auto-translates with language selection

3. Privacy Page Integration:
   - Added data-page="privacy" attribute to HTML
   - Added data-i18n to all content sections (header + 11 sections)
   - Integrated with existing language-selector.js component
   - Updated i18n-simple.js pageMap to recognize privacy page

4. Bug Fix:
   - Fixed SessionStart hook error in .claude/settings.local.json
   - Changed from $CLAUDE_PROJECT_DIR to absolute path
   - Hook now runs successfully at session start

BENEFITS:
- Better UX for international users (German, French speakers)
- Legal compliance (privacy policy in native languages)
- Consistent language experience across entire site
- Leverages existing language persistence (localStorage)

INTEGRATION:
- Works with existing language-selector.js (flag icons: 🇬🇧 🇩🇪 🇫🇷)
- Language preference persists across all pages
- Zero duplication - integrates with existing i18n system

WCAG COMPLIANCE:
✓ Maintains semantic HTML structure
✓ Preserves WCAG AA contrast ratios
✓ All links remain accessible and distinguishable
✓ German and French translations maintain accessibility standards

FRAMEWORK COMPLIANCE:
✓ Zero CSP violations - uses data-i18n attributes only
✓ No inline scripts or styles
✓ Follows existing Tractatus i18n patterns

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 14:44:14 +13:00

129 lines
5.9 KiB
JSON

{
"hero": {
"title": "Tractatus AI Safety Framework",
"subtitle": "Structural constraints that require AI systems to preserve human agency for values decisions—tested on Claude Code",
"cta_architecture": "System Architecture",
"cta_docs": "Read Documentation",
"cta_faq": "FAQ"
},
"value_prop": {
"heading": "A Starting Point",
"text": "Instead of hoping AI systems \"behave correctly,\" we propose structural constraints where certain decision types require human judgment. These architectural boundaries can adapt to individual, organizational, and societal norms—creating a foundation for bounded AI operation that may scale more safely with capability growth."
},
"paths": {
"intro": "We recognize this is one small step in addressing AI safety challenges. Explore the framework through the lens that resonates with your work.",
"researcher": {
"title": "Researcher",
"subtitle": "Academic & technical depth",
"tooltip": "For AI safety researchers, academics, and scientists investigating LLM failure modes and governance architectures",
"description": "Explore the theoretical foundations, architectural constraints, and scholarly context of the Tractatus framework.",
"features": [
"Technical specifications & proofs",
"Academic research review",
"Failure mode analysis",
"Mathematical foundations"
],
"cta": "Explore Research"
},
"implementer": {
"title": "Implementer",
"subtitle": "Code & integration guides",
"tooltip": "For software engineers, ML engineers, and technical teams building production AI systems",
"description": "Get hands-on with implementation guides, API documentation, and reference code examples.",
"features": [
"Working code examples",
"API integration patterns",
"Service architecture diagrams",
"Deployment best practices"
],
"cta": "View Implementation Guide"
},
"leader": {
"title": "Leader",
"subtitle": "Strategic AI Safety",
"tooltip": "For AI executives, research directors, startup founders, and strategic decision makers setting AI safety policy",
"description": "Navigate the business case, compliance requirements, and competitive advantages of structural AI safety.",
"features": [
"Executive briefing & business case",
"Risk management & compliance (EU AI Act)",
"Implementation roadmap & ROI",
"Competitive advantage analysis"
],
"cta": "View Leadership Resources"
}
},
"capabilities": {
"heading": "Framework Capabilities",
"items": [
{
"title": "Instruction Classification",
"description": "Quadrant-based classification (STR/OPS/TAC/SYS/STO) with time-persistence metadata tagging"
},
{
"title": "Cross-Reference Validation",
"description": "Validates AI actions against explicit user instructions to prevent pattern-based overrides"
},
{
"title": "Boundary Enforcement",
"description": "Implements Tractatus 12.1-12.7 boundaries - values decisions architecturally require humans"
},
{
"title": "Pressure Monitoring",
"description": "Detects degraded operating conditions (token pressure, errors, complexity) and adjusts verification"
},
{
"title": "Metacognitive Verification",
"description": "AI self-checks alignment, coherence, safety before execution - structural pause-and-verify"
},
{
"title": "Pluralistic Deliberation",
"description": "Multi-stakeholder values deliberation without hierarchy - facilitates human decision-making for incommensurable values"
}
]
},
"validation": {
"heading": "Real-World Validation",
"subtitle": "Framework validated in 6-month deployment across ~500 sessions with Claude Code",
"case_27027": {
"badge": "Pattern Bias Incident",
"type": "Interactive Demo",
"title": "The 27027 Incident",
"description": "Real production incident where Claude Code defaulted to port 27017 (training pattern) despite explicit user instruction to use port 27027. CrossReferenceValidator detected the conflict and blocked execution—demonstrating how pattern recognition can override instructions under context pressure.",
"why_matters": "Why this matters: This failure mode gets worse as models improve—stronger pattern recognition means stronger override tendency. Architectural constraints remain necessary regardless of capability level.",
"cta": "View Interactive Demo"
},
"resources": {
"text": "Additional case studies and research findings documented in technical papers",
"cta": "Browse Case Studies →"
}
},
"footer": {
"about_heading": "Tractatus Framework",
"about_text": "Architectural constraints for AI safety that preserve human agency through structural, not aspirational, guarantees.",
"documentation_heading": "Documentation",
"documentation_links": {
"framework_docs": "Framework Docs",
"about": "About",
"core_values": "Core Values",
"interactive_demo": "Interactive Demo"
},
"support_heading": "Support",
"support_links": {
"koha": "Support (Koha)",
"transparency": "Transparency",
"media_inquiries": "Media Inquiries",
"submit_case": "Submit Case Study"
},
"legal_heading": "Legal",
"legal_links": {
"privacy": "Privacy Policy",
"contact": "Contact Us",
"github": "GitHub"
},
"te_tiriti_label": "Te Tiriti o Waitangi:",
"te_tiriti_text": "We acknowledge Te Tiriti o Waitangi and our commitment to partnership, protection, and participation. This project respects Māori data sovereignty (rangatiratanga) and collective guardianship (kaitiakitanga).",
"copyright": "John G Stroh. Licensed under",
"license": "Apache 2.0",
"location": "Made in Aotearoa New Zealand 🇳🇿"
}
}