-
Notifications
You must be signed in to change notification settings - Fork 341
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
How to add localization #27
Comments
Sorry for my slow respond. You can create a new localization by adding new parsers. I'm sorry to tell you that it would not be easy though. First, please refer to the last part of the document about the parser. It's a kind of plug-in module that helps chrono recognize a certain pattern. I also recommend you to look at the German (DE) parsers as an example.
Then, I suggest you follow these steps:
I wish I can help you more but I really don't know Portuguese. |
Hey, thanks for your answer. As soon as I have some time I will try to do it since none of the other 3 libraries I tested are any closer to be so good as yours. |
@leo-mck Did you worked on this? I'm interested on pt_BR too :-) |
I tested all date parsers that I could find and chrono it is by far the best. I want to localise it to pt-BR (Brazilian portuguese). I see that there is already some languages supported on the "parsers" folder but I am not sure how to add another language into chrono. I can copy one, translate it and then what? What do I need to do so chrono use the new localization?
The text was updated successfully, but these errors were encountered: