[FEATURE] implement i18n framework and multi-language support for the language dropdown.
Why do we need this improvement?
While the application currently features a language selection dropdown in the UI, it is restricted to "English" only. This creates an accessibility barrier for the global AsyncAPI community. Non-English speaking users cannot effectively navigate the tool, which limits the project's reach and inclusivity.
How will this change help?
Now, non-english user can also effectively navigate the tool.
Screenshots
No response
How could it be implemented/designed?
I propose implementing a robust Internationalization (i18n) framework to transition the app from a hard-coded English string model to a dynamic, key-based translation system.
My technical proposal includes:
Framework Integration: Integrating a standard library such as i18next or react-i18next (depending on the project's stack) to manage translations.
Resource Management: Creating a centralized locales/ directory to house JSON or YAML translation files (e.g., en.json, es.json, fr.json).
Dynamic UI: Updating the existing language dropdown to fetch available locales dynamically and update the application state without requiring a full page reload.
π§ Breaking changes
Yes
π Have you checked for similar open issues?
- [x] I checked and didn't find a similar issue
π’ Have you read the Contributing Guidelines?
- [x] I have read the Contributing Guidelines
Are you willing to work on this issue?
None
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
π CodeRabbit Plan Mode
Generate an implementation plan and prompts that you can use with your favorite coding agent.
- [ ] Create Plan
π Similar Issues
Possible Duplicates
- https://github.com/asyncapi/website/issues/3533
Related Issues
- https://github.com/asyncapi/website/issues/4415
- https://github.com/asyncapi/website/issues/3880
- https://github.com/asyncapi/website/issues/3777
π€ Suggested Assignees
π§ͺ Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
π¬ Have feedback or questions? Drop into our discord or schedule a call!
@saurabh24thakur , the implementation plan given by you is it phase implementation? because doing those 3 things may break things and doing it by phases like phase 1 , phase 2 and phase 3 where each phase gets approved is this the way you intended? ... in that case shall i just disable dropdown for now since its just "en" ? in doing so its goona be my first pr!!!
Hi @jerald-roy, thanks for jumping in and welcome! Awesome to have this as your first PR.
On your questions: I think it's better to do the framework setup and the initial "en" migration in one go. That way, we have a working template for other languages right from the start.
Also, let's keep the dropdown enabled. Itβll be useful for testing to make sure the framework is actually pulling the strings from the JSON files and not just falling back to hard-coded text.
I'll head over to your PR now and take a look at the progress!
hey yesterday the issue was still there but today it has been solved by someone else , i checked the commit history but ntg there so i wonder how this could have happened just to make sure next time i won't miss out
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart: