textgrad icon indicating copy to clipboard operation
textgrad copied to clipboard

i18n: Support Chinese language

Open happen2me opened this issue 6 months ago • 0 comments

  • 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, or LANG are set to zh_CN)
  • add a contribution guide for supporting other languages

Please refer to gettext for more details of the module.

happen2me avatar Aug 02 '24 17:08 happen2me