textgrad
textgrad copied to clipboard
i18n: Support Chinese language
- introduce
gettext
module for localization (literals that are fed to LLMs are now wrapped with gettext_()
) - add support to simplified Chinese (when env vars
LANGUAGE
,LC_ALL
,LC_MESSAGES
, orLANG
are set tozh_CN
) - add a contribution guide for supporting other languages
Please refer to gettext for more details of the module.