Localizing the Consent Portal
Complete this after configuring-the-accelerator.md. This
covers correcting or adding translated text on a running deployment — no
rebuild of the accelerator is needed for anything described here, unless
stated otherwise.
The portal ships with English plus the 22 languages listed in the Eighth Schedule to the Constitution of India, per section 5(3) of the DPDP Act. Readers switch between them from the language selector in the portal header; nothing needs to be configured on the server for that to work.
1. Where the translation files live
After running merge.sh (see setup-guide.md), each language's files are at:
<IS_HOME>/repository/deployment/server/webapps/consent-portal/i18n/<lang-code>/
├── common.json # the portal's own UI text (buttons, labels, messages)
└── catalog.json # wording for Purposes and Elements created in this deployment
Use this table to map the languages.
| Code | Language | Native name |
|---|---|---|
en | English | English |
hi | Hindi | हिन्दी |
as | Assamese | অসমীয়া |
bn | Bengali |