marcolivierbouch / OpenAssistantGPT

An Open-Source Saas for Crafting/Building/Creating Chatbots with OpenAI's Assistant API that you can add to your website.
https://openassistantgpt.io
GNU Affero General Public License v3.0
203 stars 75 forks source link

Add Internationalization (i18n) Support to the Project #420

Open caiomoura1994 opened 5 days ago

caiomoura1994 commented 5 days ago

Is your feature request related to a problem? Please describe. The project is currently only available in English, which limits its accessibility to non-English speakers. I'm always frustrated when projects do not support multiple languages, as it restricts the user base and excludes potential contributors who are more comfortable working in their native language.

Describe the solution you'd like I would like to propose adding internationalization (i18n) support to the OpenAssistantGPT project. This would involve:

Integrating an i18n library (e.g., react-i18next). Creating translation files for multiple languages, starting with English (en), Portuguese (pt-br) Spanish (es) and others. Implementing language switch functionality in the UI. Updating the documentation to include instructions on how to add new translations. Describe alternatives you've considered An alternative solution could be to manually translate the content and hard-code the translations, but this would not be scalable or maintainable. Using a dedicated i18n library will provide a more flexible and efficient way to manage multiple languages.

Additional context Adding i18n support will:

Expand the user base by making the project accessible to a wider audience. Improve accessibility for non-English speakers. Encourage contributions from developers around the world. I am willing to contribute to this feature by implementing the changes outlined above. I will start by setting up the initial structure and creating translation files for Portuguese and Spanish. Other contributors can then add more languages as needed.

I would appreciate any feedback or suggestions on this proposal, especially regarding preferred i18n libraries or patterns that should be followed. Are there any additional languages that should be prioritized?

Thank you for considering this suggestion. I look forward to your feedback and hope to contribute to the project's growth.

Feel free to adjust this as needed!

marcolivierbouch commented 5 days ago

This would be very befenfitial to improve the platform, thank you for the contribution.