.chainlit/translations
directory. The files are named after the language code, e.g. en-US.json
for English (United States).
en-US
.components.organisms.header.readme
) and update the value:
.chainlit/translations
directory with the language code as the filename. The language code should be in the format of languageCode-COUNTRYCODE
, e.g. en-US
for English (United States) or en-GB
for English (United Kingdom).
chainlit.md
file. For instance chainlit_pt-BR.md
for Portuguese (Brazil) and chainlit_es-ES.md
for Spanish (Spain).
The file will be loaded based on the browser’s language, defaulting to chainlit.md
if no translation is available.
.chainlit/translations
directory and restart your Chainlit application: