chainlit
chainlit copied to clipboard
[Feature] Internationalization (i18n) Support
Hello. First off, thank you for the incredible work on chainlit. It has proven to be extremely valuable for our works.
As the user base for chainlit grows, there might be non-English speaking users who could benefit from using it. To make it more accessible to a global audience, I'd like to propose adding internationalization (i18n) support to chainlit.
Proposed Solution:
- Integrate an i18n library/tool such as "react-i18next" to manage translations.
- Refactor the existing codebase to make UI text elements translatable.
- Add a language switcher to the UI, allowing users to select their preferred language.
I'm willing to help kickstart this process and contribute where necessary. Please let me know your thoughts, and if there's any way I can assist.
Although I'm not very knowledgeable about the frontend, I have tried implementing react-i18next in the current project. I've seen some preliminary positive results. I would be more than happy to contribute my code.
Thank you for considering this proposal.