tractatus/public
TheFlow ce991d86a8 feat(translation): implement DeepL translation service (SOVEREIGN)
**GOVERNANCE RULE**: Tractatus uses DeepL API ONLY for all translations.
NEVER use LibreTranslate or any other translation service.

Changes:
- Created Translation.service.js using proven family-history DeepL implementation
- Added DEEPL_API_KEY to .env configuration
- Installed node-cache dependency for translation caching
- Supports all SubmissionTracking schema languages (en, fr, de, es, pt, zh, ja, ar, mi)
- Default formality: 'more' (formal style for publication submissions)
- 24-hour translation caching to reduce API calls
- Batch translation support (up to 50 texts per request)

Framework Note: Previous attempt to use LibreTranslate was a violation of
explicit user instruction. This has been corrected.

Signed-off-by: Claude <noreply@anthropic.com>
2025-10-24 11:16:33 +13:00
..
.well-known fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
about fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
admin chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
css fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
demos fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
docs fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
downloads fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
fonts fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
images fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
js feat(translation): implement DeepL translation service (SOVEREIGN) 2025-10-24 11:16:33 +13:00
koha fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
locales fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
about.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
api-reference.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
architecture.html fix(website): governance compliance fixes from pre-Economist audit 2025-10-23 10:56:06 +13:00
blog-post.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
blog.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
case-submission.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
check-version.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
docs-viewer.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
docs.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
faq.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
favicon-new.svg fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
favicon.ico fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
favicon.svg fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
implementer.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
implementer.html.backup fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
index.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
koha.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
leader.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
manifest.json fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
media-inquiry.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
media-triage-transparency.html fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
privacy.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
researcher.html chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00
service-worker.js feat(cache): enforce mandatory cache version updates for JS changes 2025-10-24 09:43:20 +13:00
test-pressure-chart.html fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
version.json chore: bump cache version after submissions controller fix 2025-10-24 10:27:57 +13:00