Skip to content
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

Can I translate for portuguese? #12

Open
wellyngtond2 opened this issue Apr 30, 2020 · 1 comment
Open

Can I translate for portuguese? #12

wellyngtond2 opened this issue Apr 30, 2020 · 1 comment

Comments

@wellyngtond2
Copy link

I would like to translate the component into other languages, such as Brazilian Portuguese .

@wellyngtond2 wellyngtond2 changed the title I can translate for portuguese? Can I translate for portuguese? Apr 30, 2020
@hellocaio
Copy link

hellocaio commented May 6, 2020

You could, all you have to do is translate a few strings for the months and weekdays, set the date-fns option object to the language you want. I tried that and it worked, but this package is outdated and not well maintained.

Or, you could install this more complete package:
react-bootstrap-daterangepicker

and then follow these instructions:
Configuring language in Bootstrap Date Range Picker

Hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants