Documentation

Internationalisation

ZephAI ships English, French, Spanish, Portuguese, German and Arabic. Arabic renders right-to-left.

Chrome translations#

Shared UI uses {% translate %} and {% blocktranslate %}. Catalogs live in locale/<code>/LC_MESSAGES/django.po and compile to .mo. The switcher posts to Django's set_language and persists in site_language.

RTL#

The base templates set dir="rtl" when the active language is Arabic. Layout uses logical properties where feasible; test the console at 390 and 1440 px.

Content#

Models, docs, pages and emails are authored content and remain in the language the author used. Add translation fields or localized page variants if you need translated content; never string-replace the response. The MCP and API docs describe the same rule.

Audit#

python manage.py makemessages -l fr -l es -l pt -l de -l ar
python manage.py compilemessages
python scripts/audit_i18n.py