commitra / commitra/react-verse

Add i18n Foundation and Language Switch Placeholder in Home.jsx

Đang mở
#100 1 bình luận 0 reaction 1 người được giao Được @AnimeshSoni777 nhận Xem trên GitHub
good first issue hacktoberfest
Ngôn ngữ chính
JavaScript
Star
8
Fork
34
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Introduce a basic internationalization (i18n) setup for the app starting with Home.jsx.
This foundation will allow easy translation of UI text by using external JSON files (e.g., en.json, fr.json, etc.).
Add a simple language switch placeholder in the UI to prepare for future multilingual support.

🎯 Goals / Acceptance Criteria

Set up an i18n directory or folder structure for language files (/src/i18n/en.json).

Implement basic i18n configuration using a library like react-i18next or a custom hook.

Replace static text in Home.jsx with i18n translation keys.

Add a language switch placeholder (dropdown or button) in the header or footer.

Ensure default language is English (en).

Prepare the structure for adding more languages in future (e.g., fr.json, es.json).

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.