-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Request for Internationalization (i18n) Support
Summary
I would like to request the addition of internationalization (i18n) support in this Ant Design (antd) ReactJS open-source project. Implementing i18n will make the project more accessible to a global audience by allowing it to support multiple languages.
Description
Current State:
- The project currently only supports the default language (e.g., English).
- There is no infrastructure or tooling in place for adding multiple language support.
Proposed Enhancement:
- Integrate an i18n library (such as
react-intl
,react-i18next
, or any other preferred i18n library). - Externalize all user-facing strings into separate translation files (e.g., JSON or JS files) for different languages.
- Provide documentation on how to add new translations and switch languages within the application.
Benefits
- Accessibility: Allowing users to interact with the application in their preferred language enhances user experience.
- Global Reach: Expanding the potential user base by supporting multiple languages.
- Community Contribution: Enable community members to contribute translations for different languages.
Suggested Libraries
- react-intl: Provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.
- react-i18next: Powerful internationalization framework for React/React Native, providing all the necessary tools for translating your application.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request