-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Set Up Basic Internationalization (i18n) Framework
Description:
Create a simple internationalization (i18n) setup that allows React-A11y-Assist to support multiple languages. This is a first step toward enhanced internationalization and RTL support.
Tasks:
- Research a popular i18n library for React (e.g., react-i18next).
- Install the i18n library as a dependency.
- Add a basic configuration file (e.g.,
i18n.js) that sets up default language resources (at least English). - Create sample language files (e.g.,
locales/en.jsonandlocales/es.json). - Update a simple component (or add a new demo component) to demonstrate language switching.
Steps to Get Started:
-
Fork the repository and create a branch called
feature/i18n-setup. -
Install the chosen i18n package:
npm install react-i18next i18next
-
Create a configuration file at src/i18n.js.
-
Add sample translations in a new folder src/locales/.
-
Modify a component to use the translation hook and verify the language switch.
-
Open a pull request and include instructions in the README for how to test the i18n setup.
Feel free to reach out on our discussion channel if you have any questions!
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers