neilgupta / Sherlock

Natural-language event parser for Javascript
https://sherlock.neil.gg
MIT License
532 stars 32 forks source link

Add new localizations #5

Closed neilgupta closed 4 years ago

neilgupta commented 11 years ago

Currently, Sherlock only supports US English locale format for times and dates. It would be nice to add support for other formats (UK) or other languages, with an option to pass the desired locale to Sherlock during parse or via Watson.

thomasbrunstrom commented 8 years ago

I've made a version which supports localization, don't know if you'd like my implementation and I just made some small updates, so the code isn't really optimized and clean. Do you want med to make a fork so you can look at it?

neilgupta commented 8 years ago

That's awesome! You should definitely open a pull request and hopefully we can get it merged :)

jbpin commented 8 years ago

Nice job... I'm keen to test that. I can help to make a french version.