robertwilczynski / nChronic

A natural language date/time parser ported from Ruby
MIT License
67 stars 34 forks source link

Support to pt-BR #24

Open rcarubbi opened 7 years ago

rcarubbi commented 7 years ago

Are you thinking in implement support for other languages like pt-BR?

loudenvier commented 7 years ago

This library has TERRIBLE support for localization. The tags are embedded in the source code as evidenced by this: static readonly string[] _dayPeriods = new string[] { "am", "pm", "morning", "afternoon", "evening", "night" };

I was looking for a resource file to edit to add pt-BR support but couldn't find...

That said, this is a great open source project, and I'll be looking into improving it to add easy localization support... But I'm with my hands full right now, and can't promise any timeframe for this....