tractatus/public/locales/en/implementer.json
TheFlow 06c3631ec4 feat: add multilingual support for 5 key pages (researcher, leader, implementer, about, faq)
Translation Infrastructure:
- Created 15 new translation files (en/de/fr) for 5 pages
- Enhanced i18n-simple.js to auto-detect page names
- Added page detection logic mapping URLs to translation files
- Supports researcher, leader, implementer, about, faq pages

Translation Files Created:
English (en/):
  - researcher.json (research foundations, empirical observations)
  - leader.json (governance gap, architectural approach, EU AI Act)
  - implementer.json (integration approaches, quick start, deployment)
  - about.json (mission, values, origin story, license)
  - faq.json (search modal, browse by audience, tips)

German (de/):
  - researcher.json (Forschungsgrundlagen, Empirische Beobachtungen)
  - leader.json (Governance-Lücke, Architektonischer Ansatz)
  - implementer.json (Integrationsansätze, Schnellstart)
  - about.json (Mission, Werte, Ursprungsgeschichte)
  - faq.json (Häufig gestellte Fragen)

French (fr/):
  - researcher.json (Fondements de Recherche, Observations Empiriques)
  - leader.json (Lacune de Gouvernance, Approche Architecturale)
  - implementer.json (Approches d'Intégration, Démarrage Rapide)
  - about.json (Mission, Valeurs, Histoire d'Origine)
  - faq.json (Questions Fréquemment Posées)

Technical Changes:
- i18n-simple.js: Added detectPageName() method
- Maps URL paths to translation file names
- Loads page-specific translations automatically
- researcher.html: Added data-i18n attributes to header section

Language Selector:
- Already deployed on all 6 pages (mobile icon-based design)
- Now backed by full translation infrastructure
- Switching languages loads correct page-specific translations

Implementation Status:
 Translation files: Complete (15 files, ~350 translation keys)
 i18n system: Enhanced with page detection
 Proof of concept: Working on researcher.html
 Full implementation: data-i18n attributes needed on remaining pages

Next Steps for Full i18n:
- Add data-i18n attributes to leader.html (~60 elements)
- Add data-i18n attributes to implementer.html (~70 elements)
- Add data-i18n attributes to about.html (~40 elements)
- Add data-i18n attributes to faq.html (~30 elements)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 23:11:12 +13:00

85 lines
4.7 KiB
JSON

{
"page": {
"title": "For Implementers | Tractatus AI Safety Framework",
"description": "Integrate Tractatus framework into your AI systems: practical guides, code examples, and step-by-step implementation for production safety."
},
"header": {
"title": "Reference Implementation",
"subtitle_line1": "AI Safety Patterns",
"description": "Integrate Tractatus framework into your AI systems with practical guides, code examples, and patterns demonstrated in 6-month development project.",
"quick_start_btn": "Quick Start Guide",
"view_docs_btn": "View Documentation"
},
"development_context": {
"title": "Development Context",
"description": "Framework developed over six months in single-project context. Code examples below show reference implementation architecture. The npm package @tractatus/framework represents planned API design, not published package. Actual implementation requires adapting patterns from this project's source code.",
"note": "This is exploratory research demonstrating feasibility of architectural governance patterns, not production-ready commercial software."
},
"deployment_guide": {
"badge": "DOCUMENTATION",
"title": "Deployment Architecture Guide",
"description": "Comprehensive conceptual guide to deploying Tractatus-based systems. Understand architecture patterns, security best practices, and integration strategies for research and educational purposes.",
"view_guide_btn": "View Deployment Guide",
"support_note": "For production implementation support, contact john.stroh.nz@pm.me"
},
"architecture": {
"heading": "System Architecture",
"subheading": "Understanding how Tractatus integrates with Claude Code to provide robust AI governance",
"download_svg": "Download SVG",
"download_png": "Download PNG (High-Res)",
"download_pdf": "Technical Documentation PDF",
"layer_4_title": "API & Web Interface",
"layer_3_title": "Tractatus Governance",
"layer_2_title": "MongoDB Persistence",
"layer_1_title": "Claude Code Runtime",
"integration_points_title": "Key Integration Points",
"integration_1_title": "Pre-Action Checks",
"integration_1_desc": "All actions validated against governance rules before execution",
"integration_2_title": "Instruction Persistence",
"integration_2_desc": "User instructions classified and stored for cross-reference validation",
"integration_3_title": "Comprehensive Audit Trail",
"integration_3_desc": "Every governance action logged for compliance and analysis"
},
"integration_approaches": {
"heading": "Integration Approaches",
"full_stack_title": "Full Stack",
"full_stack_desc": "Complete framework integration for new AI-powered applications. All six services active with persistent instruction storage.",
"full_stack_note": "Best for: New projects, greenfield AI applications",
"middleware_title": "Middleware Layer",
"middleware_desc": "Add Tractatus validation as middleware in existing AI pipelines. Non-invasive integration with gradual rollout support.",
"middleware_note": "Best for: Existing production AI systems",
"selective_title": "Selective Components",
"selective_desc": "Use individual Tractatus services à la carte. Mix and match components based on your specific safety requirements.",
"selective_note": "Best for: Specific safety requirements"
},
"quick_start": {
"heading": "Quick Start Guide",
"disclaimer_title": "Note: Reference Implementation",
"disclaimer_text": "The code examples below show conceptual API design. The npm package @tractatus/framework is not yet published. To implement these patterns, adapt the governance services from this project's source code.",
"step_1_title": "Installation",
"step_2_title": "Initialize Services",
"step_3_title": "Classify Instructions",
"step_4_title": "Validate Actions",
"step_5_title": "Enforce Boundaries"
},
"integration_patterns": {
"heading": "Integration Patterns",
"express_middleware": "Express Middleware",
"content_moderation": "Content Moderation",
"pressure_monitoring": "Pressure Monitoring",
"custom_classification": "Custom Classification"
},
"resources": {
"heading": "Implementation Resources",
"technical_docs_title": "Technical Documentation",
"examples_title": "Examples",
"support_title": "Support",
"support_desc": "Get help with implementation, integration, and troubleshooting."
},
"cta": {
"title": "Exploring Implementation?",
"description": "Explore architectural patterns for AI safety demonstrated in single-project validation.",
"view_docs_btn": "View Full Documentation",
"research_btn": "Research Background →"
}
}