react-native-calendar-select icon indicating copy to clipboard operation
react-native-calendar-select copied to clipboard

Localization of month names

Open feliperaul opened this issue 7 years ago • 3 comments

As far as I could gather from the source code, the month names (i18n) are hardcoded? So no way of passing a customI18n props that has month names other then the supported languages (en / zh / jp) ?

feliperaul avatar Mar 26 '18 15:03 feliperaul

the same question... thanks!

danielzzz avatar Dec 18 '18 21:12 danielzzz

I found the solution for changing month names,

The only thing you need to do is to go on the directory where the package is located. Like this :

Capture

and then, you find a file called "index.js", open this file.

Capture

Now, it's simple, you only need to change the "en" param months by the localization you want.

Regards

ryolay avatar Oct 26 '19 12:10 ryolay

It's not recommanded to edit a npm package but it's the only way I found for doing it :/

ryolay avatar Oct 26 '19 12:10 ryolay