-
-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
DateTimePicker update #406
Conversation
and make use of fluent localizations
The following translations were added "hour": "hour",
"minute": "minute",
"am": "AM",
"pm": "PM",
"month": "month",
"day": "day",
"year": "year" @WinXaito @henry2man @raitonoberu @larsb24 @alexmercerind @zacksleo @dmakwt @xmine64 @patricknicolosi They're basically used as a placeholder when the current selected date is not provided ( |
"hour": "घंटा",
"minute": "मिनट",
"am": "AM",
"pm": "PM",
"month": "महीना",
"day": "दिन",
"year": "साल" Thanks! |
"IT" "hour": "ore",
"minute": "minuti",
"am": "AM",
"pm": "PM",
"month": "mese",
"day": "giorno",
"year": "anno" |
"AR"
|
"FA" "hour": "ساعت",
"minute": "دقیقه",
"am": "ق.ظ.",
"pm": "ب.ظ.",
"month": "ماه",
"day": "روز",
"year": "سال" |
Spanish localisation "hour": "hora",
"minute": "minuto",
"am": "AM",
"pm": "PM",
"month": "mes",
"day": "día",
"year": "año" @bdlukaa Relative to hours and minutes, should we use plural literals instead of singular ones? Just in case, in Latin languages Spanish we just need to add a final |
Also, will 24h format be available? In Spanish is not usual to use the AM/PM format, so instead we use 24h one. |
Singular ones. The texts will be used here:
It has been available since DateTime pickers were implemented. Check the example app to play with it! |
FR "hour": "heure",
"minute": "minute",
"am": "AM",
"pm": "PM",
"month": "mois",
"day": "jour",
"year": "année" Note: And the date in french is in format : |
There is already the possibility to use 24h format: TimePicker(
hourFormat: HourFormat.H,
),
This PR adds cyan/green/blue - DAY/MONTH/YEAR src: https://en.wikipedia.org/wiki/Date_format_by_country Since most of the world uses the DMY format, it's returned by default! The year and day fields are also formatted based on the locale. |
Fixes #306
Pre-launch Checklist
CHANGELOG.md
with my changes