-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pickers] Add Support for Arabic (ar) Locale in @mui/x-date-pickers #15650
Comments
Can I look into this and try working on it. |
Ok. Thanks a lot @flaviendelangle . |
@flaviendelangle Kindly review and do let me know in case if any changes is required |
I'll check with the other MUI product if we prefer to have a single Arabic locale or if we want to have one per dialect. |
Summary
Currently, @mui/x-date-pickers provides support for multiple locales, including French (frFR) and others, but there is no built-in support for Arabic (ar). This limitation requires developers to manually create custom locale configurations to localize components for Arabic users.
import { arMA } from "@mui/x-date-pickers/locales";
to use it :
arMA.components.MuiLocalizationProvider.defaultProps.localeText;
Examples
Motivation
Please consider adding support for the Arabic (ar) locale to @mui/x-date-pickers, similar to how other locales (e.g., frFR) are implemented.
Benefits
Improved Developer Experience: Developers can directly use Arabic localization without custom workarounds.
Consistency: Aligns with the existing support for other widely used locales.
User Accessibility: Enhances usability for Arabic-speaking users, especially in right-to-left (RTL) contexts.
Search keywords: ar calendar Arabic Locale
The text was updated successfully, but these errors were encountered: