-
-
Notifications
You must be signed in to change notification settings - Fork 334
feat: Add Marathi Language Support #943
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { commonLocale } from './common'; | ||
import type { Locale } from '../interface'; | ||
|
||
const locale: Locale = { | ||
...commonLocale, | ||
locale: 'mr_IN', | ||
today: 'आज', | ||
now: 'आता', | ||
backToToday: 'आजवर परत जा', | ||
ok: 'ठीक आहे', | ||
clear: 'साफ करा', | ||
week: 'आठवडा', | ||
month: 'महिना', | ||
year: 'वर्ष', | ||
timeSelect: 'वेळ निवडा', | ||
dateSelect: 'दिनांक निवडा', | ||
weekSelect: 'आठवडा निवडा', | ||
monthSelect: 'महिना निवडा', | ||
yearSelect: 'वर्ष निवडा', | ||
decadeSelect: 'दशक निवडा', | ||
|
||
previousMonth: 'मागील महिना (पेजअप)', | ||
nextMonth: 'पुढचा महिना (पेजडाउन)', | ||
previousYear: 'गेल्या वर्षी (Ctrl + left)', | ||
nextYear: 'पुढचे वर्ष (Ctrl + right)', | ||
previousDecade: 'मागील दशक', | ||
nextDecade: 'पुढचे दशक', | ||
previousCentury: 'मागील शतक', | ||
nextCentury: 'पुढचे शतक', | ||
}; | ||
Comment on lines
4
to
48
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The locale object does not specify any Example: fieldDateFormat: 'DD-MM-YYYY',
fieldDateTimeFormat: 'DD-MM-YYYY HH:mm:ss',
fieldMonthFormat: 'MM-YYYY', You can add other format fields as needed. |
||
|
||
export default locale; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The locale object is missing
shortWeekDays
andshortMonths
properties. While these are optional in theLocale
type, their absence can lead to an incomplete translation. For instance, the calendar header for days of the week and the month selection dropdown might not be translated. To ensure a complete localization for Marathi, please add these properties.Example:
Please verify and use the appropriate short forms for Marathi.