Courtbook Translate

Google Translate proxy for Courtbook. Holds the Google Cloud Translation API key and the Indian legal abbreviation handling; callers keep their own content, models and translation caches.

Endpoints

POST /api/translate
Authorization: Bearer <TRANSLATE_API_SECRET>

{ "q": ["<p>Hello</p>"], "target": "hi", "source": "en", "format": "html" }

-> { "success": true, "translations": ["<p>नमस्ते</p>"] }