iainbeeston / nickel

Nickel extracts date, time, and message information from naturally worded text.
MIT License
112 stars 17 forks source link

Refactor substitutions (work in progress) #29

Closed iainbeeston closed 9 years ago

iainbeeston commented 9 years ago

Right now there are two problems with the code-base:

  1. It's very difficult to find the right place to fix bugs
  2. It's almost impossible to translate into other languages

I'm going to try to pull the substitutions that nickel does out into their own files, grouped by function. It's not going to fix the internationalisation problem (although it should be a good first step towards it), but it will make the code easier to maintain.