Add Internationalization (i18n) Support to CAMEL Web App
Required prerequisites
- [x] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
- [x] Consider asking first in a Discussion.
Motivation
The CAMEL web interface currently supports only English.
Adding internationalization (i18n) support will make the platform accessible to a global audience, enabling non-English speakers to use and contribute to CAMEL.
It also demonstrates best practices for scalable UI development and increases user adoption.
Solution
- Integrate a translation library like
react-i18nextin the web app - Extract all hardcoded UI text strings into
/locales/en.json - Add at least one additional language file (e.g.,
/locales/es.jsonfor Spanish) - Add a language switcher component in the navbar to allow users to change languages
- Update documentation in
README.mdexplaining how to add new translations
Alternatives
- Keep English-only interface (limits accessibility)
- Provide translated README only (does not help the interactive web app)
Additional context
This change improves UX for non-English users, encourages contributions from the international community, and makes the project more inclusive.
thanks @shivamkumar2003 for opening this issue, could @Douglasymlai help evaluating the effort and priority for this issue?
@shivamkumar2003 Thanks for bringing up this issue! Supporting multiple languages is definitely an important improvement for the CAMEL community as we work toward expanding our global reach and engaging more members. I’ve added this to our upcoming sprint for consideration and implementation.