DateTimeSeer icon indicating copy to clipboard operation
DateTimeSeer copied to clipboard

Extend this library for german

Open chrisonline opened this issue 9 years ago • 1 comments

How can I help to extend this awesome library for use with german language?

chrisonline avatar Oct 10 '16 07:10 chrisonline

That would be awesome @chrisonline. I'm currently working on making the library more extensible. I have pushed some changes to dev branch. I'm currently testing this implementation, also thinking on whether to keep it or change it.

If you want to extend this library for german you will have to implement the regular expressions for some classes I have used to determine the date and time. You can see the implementation for english language as a source of reference in this package.

Apart from this, you will have to add a strings.xml file for german language. I will add a contribution file soon which will elaborate the changes to be made to add a new language implementation.

It would be really nice if you can provide a patch for the german language. Just send a pull request to the dev branch whenever you are ready.

Thanks for offering help. Let me know if you have any queries regarding the implementation.

p-v avatar Oct 10 '16 13:10 p-v