WrathChaos / react-native-time-date-picker

🚀 Easy to use time and date picker with lots of options for React Native 🥳
https://freakycoder.com
MIT License
35 stars 7 forks source link

Change language #8

Open duonghungit24 opened 2 years ago

duonghungit24 commented 2 years ago

how to change langueage to vietnamese ? I hope that you can change the vietnamese language

WrathChaos commented 2 years ago

Hello @duonghungit24 You can contribute to add Vietnamese language support to the library.

https://github.com/WrathChaos/react-native-time-date-picker/blob/master/docs/contributions/translations.md

Please check this one and open a PR :) I am happy to add Vietnamese language support

nanokoko89 commented 2 years ago

Hello @duonghungit24 You can contribute to add Vietnamese language support to the library.

https://github.com/WrathChaos/react-native-time-date-picker/blob/master/docs/contributions/translations.md

Please check this one and open a PR :) I am happy to add Vietnamese language support

First, I want to thank you and wish you having a nice day. Like duonghungit24 I need to add Vietnamese, Please tell me Hơ I can contribute to your library fastest way. Thanks again

WrathChaos commented 2 years ago

Hello @nanokoko89

Thank you for kind words :)

Did you check translation contribution link? You can use this and open a PR 🥳

Love to add more languages

nanokoko89 commented 2 years ago

Hello @nanokoko89

Thank you for kind words :)

Did you check translation contribution link? You can use this and open a PR 🥳

Love to add more languages

Hi @WrathChaos I already read that and try several ways but have no results Can I send you vi.ts here so you can quickly add to our library?

If yes, here is my vi.ts:

export default { dayNames: [ "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy", "Chủ nhật", ], dayNamesShort: ["T2", "T3", "T4", "T5", "T6", "T7", "CN"], monthNames: [ "Tháng 01", "Tháng 02", "Tháng 03", "Tháng 04", "Tháng 05", "Tháng 06", "Tháng 07", "Tháng 08", "Tháng 09", "Tháng 10", "Tháng 11", "Tháng 12", ], selectedFormat: "DD/MM/YYYY", dateFormat: "DD/MM/YYYY", monthYearFormat: "MM YYYY", timeFormat: "HH:mm", hour: "Giờ", minute: "Phút", timeSelect: "Chọn giờ", timeClose: "Đóng", };

Thanks you. Hope to see your reply soon.

Have a good day!!!

tri2820 commented 1 year ago

Hi, I opened a PR here for this issue https://github.com/WrathChaos/react-native-time-date-picker/pull/11