diff --git a/components/i18n/languages/calendar/ta_IN.ts b/components/i18n/languages/calendar/ta_IN.ts new file mode 100644 index 00000000000..60e711a11a8 --- /dev/null +++ b/components/i18n/languages/calendar/ta_IN.ts @@ -0,0 +1,36 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +export default { + today: 'இன்று', + now: 'இப்போது', + backToToday: 'இன்றுக்கு திரும்பு', + ok: 'சரி', + clear: 'அழி', + month: 'மாதம்', + year: 'வருடம்', + timeSelect: 'நேரத்தைத் தேர்ந்தெடு', + dateSelect: 'தேதியைத் தேர்ந்தெடு', + weekSelect: 'வாரத்தைத் தேர்வுசெய்க', + monthSelect: 'மாதத்தைத் தேர்வுசெய்க', + yearSelect: 'வருடத்தைத் தேர்வுசெய்க', + decadeSelect: 'தசாப்தத்தைத் தேர்வுசெய்க', + yearFormat: 'YYYY', + dateFormat: 'M/D/YYYY', + dayFormat: 'D', + dateTimeFormat: 'M/D/YYYY HH:mm:ss', + monthBeforeYear: true, + previousMonth: 'முந்தைய மாதம் (PageUp)', + nextMonth: 'அடுத்த மாதம் (PageDown)', + previousYear: 'முந்தைய வருடம் (Control + left)', + nextYear: 'அடுத்த வருடம் (Control + right)', + previousDecade: 'முந்தைய தசாப்தம்', + nextDecade: 'அடுத்த தசாப்தம்', + previousCentury: 'முந்தைய நூற்றாண்டு', + nextCentury: 'அடுத்த நூற்றாண்டு' +}; diff --git a/components/i18n/languages/date-picker/ms_MY.ts b/components/i18n/languages/date-picker/ms_MY.ts new file mode 100644 index 00000000000..14050218c1d --- /dev/null +++ b/components/i18n/languages/date-picker/ms_MY.ts @@ -0,0 +1,27 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +import CalendarLocale from '../calendar/ms_MY'; +import TimePickerLocale from '../time-picker/ms_MY'; + +// Merge into a locale object +const locale = { + lang: { + placeholder: 'Pilih tarikh', + rangePlaceholder: ['Tarikh mula', 'Tarikh akhir'], + ...CalendarLocale + }, + timePickerLocale: { + ...TimePickerLocale + } +}; + +// All settings at: +// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json + +export default locale; diff --git a/components/i18n/languages/date-picker/ta_IN.ts b/components/i18n/languages/date-picker/ta_IN.ts new file mode 100644 index 00000000000..53e6004d31d --- /dev/null +++ b/components/i18n/languages/date-picker/ta_IN.ts @@ -0,0 +1,27 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +import CalendarLocale from '../calendar/ta_IN'; +import TimePickerLocale from '../time-picker/ta_IN'; + +// Merge into a locale object +const locale = { + lang: { + placeholder: 'தேதியைத் தேர்ந்தெடுக்கவும்', + rangePlaceholder: ['தொடக்க தேதி', 'கடைசி தேதி'], + ...CalendarLocale + }, + timePickerLocale: { + ...TimePickerLocale + } +}; + +// All settings at: +// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json + +export default locale; diff --git a/components/i18n/languages/fr_BE.ts b/components/i18n/languages/fr_BE.ts index 47415519285..8bc7a7bfe22 100755 --- a/components/i18n/languages/fr_BE.ts +++ b/components/i18n/languages/fr_BE.ts @@ -38,5 +38,11 @@ export default { }, Empty: { description: 'Aucune donnée' + }, + Text: { + edit: 'éditer', + copy: 'copier', + copied: 'copie effectuée', + expand: 'développer' } }; diff --git a/components/i18n/languages/fr_FR.ts b/components/i18n/languages/fr_FR.ts index 89ec487462f..69435f787c9 100755 --- a/components/i18n/languages/fr_FR.ts +++ b/components/i18n/languages/fr_FR.ts @@ -46,5 +46,11 @@ export default { }, Empty: { description: 'Aucune donnée' + }, + Text: { + edit: 'éditer', + copy: 'copier', + copied: 'copie effectuée', + expand: 'développer' } }; diff --git a/components/i18n/languages/ms_MY.ts b/components/i18n/languages/ms_MY.ts new file mode 100644 index 00000000000..132d56152c2 --- /dev/null +++ b/components/i18n/languages/ms_MY.ts @@ -0,0 +1,70 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +import Calendar from './calendar/ms_MY'; +import DatePicker from './date-picker/ms_MY'; +import Pagination from './pagination/ms_MY'; +import TimePicker from './time-picker/ms_MY'; + +export default { + locale: 'ms-my', + Pagination, + DatePicker, + TimePicker, + Calendar, + global: { + placeholder: 'Sila pilih' + }, + PageHeader: { + back: 'Kembali' + }, + Text: { + edit: 'Sunting', + copy: 'Salin', + copied: 'Berjaya menyalin', + expand: 'Kembang' + }, + Empty: { + description: 'Tiada data' + }, + Table: { + filterTitle: 'Cari dengan tajuk', + filterConfirm: 'Ok', + filterReset: 'Menetapkan semula', + emptyText: 'Tiada data', + selectAll: 'Pilih semua', + selectInvert: 'Terbalikkan' + }, + Modal: { + okText: 'OK', + cancelText: 'Batal', + justOkText: 'OK' + }, + Popconfirm: { + okText: 'OK', + cancelText: 'Batal' + }, + Transfer: { + notFoundContent: 'Tidak dijumpai', + searchPlaceholder: 'Carian di sini', + itemUnit: 'item', + itemsUnit: 'item' + }, + Icon: { + icon: 'ikon' + }, + Select: { + notFoundContent: 'Tidak Dijumpai' + }, + Upload: { + uploading: 'Sedang memuat naik...', + removeFile: 'Buang fail', + uploadError: 'Masalah muat naik', + previewFile: 'Tengok fail' + } +}; diff --git a/components/i18n/languages/ne-NP.ts b/components/i18n/languages/ne_NP.ts similarity index 100% rename from components/i18n/languages/ne-NP.ts rename to components/i18n/languages/ne_NP.ts diff --git a/components/i18n/languages/pagination/ta_IN.ts b/components/i18n/languages/pagination/ta_IN.ts new file mode 100644 index 00000000000..c03174ce422 --- /dev/null +++ b/components/i18n/languages/pagination/ta_IN.ts @@ -0,0 +1,23 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +export default { + // Options.jsx + items_per_page: '/ பக்கம்', + jump_to: 'அடுத்த', + jump_to_confirm: 'உறுதிப்படுத்தவும்', + page: '', + + // Pagination.jsx + prev_page: 'முந்தைய பக்கம்', + next_page: 'அடுத்த பக்கம்', + prev_5: 'முந்தைய 5 பக்கங்கள்', + next_5: 'அடுத்த 5 பக்கங்கள்', + prev_3: 'முந்தைய 3 பக்கங்கள்', + next_3: 'அடுத்த 3 பக்கங்கள்' +}; diff --git a/components/i18n/languages/sv_SE.ts b/components/i18n/languages/sv_SE.ts index e9710b0192e..4bbee51f9ae 100755 --- a/components/i18n/languages/sv_SE.ts +++ b/components/i18n/languages/sv_SE.ts @@ -38,5 +38,11 @@ export default { }, Empty: { description: 'Ingen information' + }, + Text: { + edit: 'editera', + copy: 'kopiera', + copied: 'kopierad', + expand: 'expandera' } }; diff --git a/components/i18n/languages/ta_IN.ts b/components/i18n/languages/ta_IN.ts new file mode 100644 index 00000000000..19db1feed81 --- /dev/null +++ b/components/i18n/languages/ta_IN.ts @@ -0,0 +1,70 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +import Calendar from './calendar//ta_IN'; +import DatePicker from './date-picker/ta_IN'; +import Pagination from './pagination/ta_IN'; +import TimePicker from './time-picker/ta_IN'; + +export default { + locale: 'ta', + Pagination, + DatePicker, + TimePicker, + Calendar, + // locales for all comoponents + global: { + placeholder: 'தேதியைத் தேர்ந்தெடுக்கவும்' + }, + Table: { + filterTitle: 'பட்டியலை மூடு', + filterConfirm: 'சரி', + filterReset: 'மீட்டமை', + emptyText: 'தகவல் இல்லை', + selectAll: 'அனைத்தையும் தேர்வுசெய்', + selectInvert: 'தலைகீழாக மாற்று', + sortTitle: 'தலைப்பை வரிசைப்படுத்தவும்' + }, + Modal: { + okText: 'சரி', + cancelText: 'ரத்து செய்யவும்', + justOkText: 'பரவாயில்லை, சரி' + }, + Popconfirm: { + okText: 'சரி', + cancelText: 'ரத்து செய்யவும்' + }, + Transfer: { + titles: ['', ''], + notFoundContent: 'உள்ளடக்கம் கிடைக்கவில்லை', + searchPlaceholder: 'இங்கு தேடவும்', + itemUnit: 'தகவல்', + itemsUnit: 'தகவல்கள்' + }, + Upload: { + uploading: 'பதிவேற்றுகிறது...', + removeFile: 'கோப்பை அகற்று', + uploadError: 'பதிவேற்றுவதில் பிழை', + previewFile: 'கோப்பை முன்னோட்டமிடுங்கள்' + }, + Empty: { + description: 'தகவல் இல்லை' + }, + Icon: { + icon: 'உருவம்' + }, + Text: { + edit: 'திருத்து', + copy: 'நகல் எடு', + copied: 'நகல் எடுக்கப்பட்டது', + expand: 'விரிவாக்கவும்' + }, + PageHeader: { + back: 'பின் செல்லவும்' + } +}; diff --git a/components/i18n/languages/time-picker/ms_MY.ts b/components/i18n/languages/time-picker/ms_MY.ts new file mode 100644 index 00000000000..7100b617bbc --- /dev/null +++ b/components/i18n/languages/time-picker/ms_MY.ts @@ -0,0 +1,13 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +const locale = { + placeholder: 'Sila pilih masa' +}; + +export default locale; diff --git a/components/i18n/languages/time-picker/ta_IN.ts b/components/i18n/languages/time-picker/ta_IN.ts new file mode 100644 index 00000000000..e7cb79cf4a1 --- /dev/null +++ b/components/i18n/languages/time-picker/ta_IN.ts @@ -0,0 +1,13 @@ +/** + * @license + * Copyright Alibaba.com All Rights Reserved. + * + * Use of this source code is governed by an MIT-style license that can be + * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE + */ + +const locale = { + placeholder: 'நேரத்தைத் தேர்ந்தெடுக்கவும்' +}; + +export default locale; diff --git a/components/i18n/public-api.ts b/components/i18n/public-api.ts index 9a15efb5a43..4ad8186f9c3 100644 --- a/components/i18n/public-api.ts +++ b/components/i18n/public-api.ts @@ -29,11 +29,21 @@ export { default as fa_IR } from './languages/fa_IR'; export { default as fi_FI } from './languages/fi_FI'; export { default as fr_BE } from './languages/fr_BE'; export { default as fr_FR } from './languages/fr_FR'; +export { default as he_IL } from './languages/he_IL'; +export { default as hi_IN } from './languages/hi_IN'; +export { default as hr_HR } from './languages/hr_HR'; +export { default as hu_HU } from './languages/hu_HU'; +export { default as id_ID } from './languages/id_ID'; export { default as is_IS } from './languages/is_IS'; export { default as it_IT } from './languages/it_IT'; export { default as ja_JP } from './languages/ja_JP'; export { default as ko_KR } from './languages/ko_KR'; +export { default as ku_IQ } from './languages/ku_IQ'; +export { default as lv_LV } from './languages/lv_LV'; +export { default as mn_MN } from './languages/mn_MN'; +export { default as ms_MY } from './languages/ms_MY'; export { default as nb_NO } from './languages/nb_NO'; +export { default as ne_NP } from './languages/ne_NP'; export { default as nl_BE } from './languages/nl_BE'; export { default as nl_NL } from './languages/nl_NL'; export { default as pl_PL } from './languages/pl_PL'; @@ -44,6 +54,7 @@ export { default as sk_SK } from './languages/sk_SK'; export { default as sl_SI } from './languages/sl_SI'; export { default as sr_RS } from './languages/sr_RS'; export { default as sv_SE } from './languages/sv_SE'; +export { default as ta_IN } from './languages/ta_IN'; export { default as th_TH } from './languages/th_TH'; export { default as tr_TR } from './languages/tr_TR'; export { default as uk_UA } from './languages/uk_UA'; diff --git a/docs/i18n.en-US.md b/docs/i18n.en-US.md index 25b89892021..fa5a4e778c3 100755 --- a/docs/i18n.en-US.md +++ b/docs/i18n.en-US.md @@ -70,6 +70,7 @@ Supported languages: | Bulgarian | bg_BG | | Catalan | ca_ES | | Czech | cs_CZ | +| Denmark | da_DK | | German | de_DE | | Greek | el_GR | | English (Global) | en_GB | @@ -90,6 +91,10 @@ Supported languages: | Japanese | ja_JP | | Kannada | kn_IN | | Korean | ko_KR | +| Kurdish | ku_IQ | +| Latvian | lv_LV | +| Malay | ms_MY | +| Mongolian | mn_MN | | Norwegian | nb_NO | | Nepal | ne_NP | | Dutch (Belgium) | nl_BE | @@ -101,6 +106,7 @@ Supported languages: | Serbian | sr_RS | | Slovenian | sl_SI | | Swedish | sv_SE | +| Tamil | ta_IN | | Thai | th_TH | | Turkish | tr_TR | | Russian | ru_RU | @@ -148,4 +154,4 @@ registerLocaleData(en); ## Language supported by date-fns -[https://date-fns.org/docs/I18n#supported-languages](https://date-fns.org/docs/I18n#supported-languages) \ No newline at end of file +[https://date-fns.org/docs/I18n#supported-languages](https://date-fns.org/docs/I18n#supported-languages) diff --git a/docs/i18n.zh-CN.md b/docs/i18n.zh-CN.md index 56de40327fb..e004004816e 100755 --- a/docs/i18n.zh-CN.md +++ b/docs/i18n.zh-CN.md @@ -69,6 +69,7 @@ switchLanguage() { | 保加利亚语 | bg_BG | | 加泰罗尼亚语 | ca_ES | | 捷克语 | cs_CZ | +| 丹麦语 | da_DK | | 德语 | de_DE | | 希腊语 | el_GR | | 英语 | en_GB | @@ -89,6 +90,10 @@ switchLanguage() { | 日语 | ja_JP | | 卡纳达语 | kn_IN | | 韩语/朝鲜语 | ko_KR | +| 库尔德语 | ku_IQ | +| 拉脱维亚语 | lv_LV | +| 马来语 | ms_MY | +| 蒙古语 | mn_MN | | 挪威 | nb_NO | | 尼泊尔语 | ne_NP | | 荷兰语(比利时) | nl_BE | @@ -100,6 +105,7 @@ switchLanguage() { | 塞尔维亚 | sr_RS | | 斯洛文尼亚 | sl_SI | | 瑞典语 | sv_SE | +| 泰米尔语 | ta_IN | | 泰语 | th_TH | | 土耳其语 | tr_TR | | 俄罗斯语 | ru_RU | @@ -147,4 +153,4 @@ registerLocaleData(en); ## date-fns 支持语言 -[https://date-fns.org/docs/I18n#supported-languages](https://date-fns.org/docs/I18n#supported-languages) \ No newline at end of file +[https://date-fns.org/docs/I18n#supported-languages](https://date-fns.org/docs/I18n#supported-languages)