Ayush Synapse serves static translation files for multilingual dashboard support. Each language file is a flat JSON key-value map where keys are UI string identifiers and values are the localized strings used by the frontend dashboards.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/sagar-grv/ayush-synapse/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Method:GETPath:
/i18n/{lang}.jsonAuth: None
Path Parameter
The BCP 47 language code identifying which translation file to serve (e.g.
hi, ta, en). See the Supported Languages table below for all valid values.Response
On success, returns a200 OK with a Content-Type: application/json body containing a JSON object of translation key-value pairs.
If the requested language file does not exist, the server returns a 404:
404 — Language File Not Found
Supported Languages
| Language | Code |
|---|---|
| English | en |
| Hindi | hi |
| Tamil | ta |
| Telugu | te |
| Malayalam | ml |
| Kannada | kn |
| Bengali | bn |
| Marathi | mr |
| Gujarati | gu |
| Punjabi | pa |
| Odia | or |
| Assamese | as |
| Urdu | ur |
| Sanskrit | sa |
| Konkani | kok |
| Manipuri | mni |
Example
Response
Usage
The frontend dashboards call this endpoint automatically when a user switches the interface language. The selectedlang code is stored in the browser’s local state, and on each language change the dashboard fetches the corresponding /i18n/{lang}.json file and re-renders all UI strings using the returned key-value map.
Translation files are served directly from the static/i18n/ directory of the application. To add a new language, place a {lang}.json file in that directory following the same key structure as the existing files.