Hi

I saw that date checking was added to LT.  Thanks for that.
I've added support for date checkin in French (as was done
already in "en", "de", "pl", "ca").  I have 2 remarks:

1) LT detects date inconsistency in French as in:

* Vendredi 28/08/2014 (it should be a Thursday, not a Friday)
* Vendredi 28 août 2014

However, I'm not able to write a rule to detect
error in *Vendredi 28-08-2014*.
"28-08-2014" is a single token, so I don't think
that I can pass each components (day, month, year)
to the arg="..." argument in:

<filter class="org.languagetool.rules.fr.DateCheckFilter" args="year:?
month:? day:? weekDay:\1"/>

Or am I missing something?

2) At the moment, when an inconsistent date is detected,
LT says something like this:

The date October 7, 2014 is not a Monday.

Would there be a way to say something like instead:

The date October 7, 2014 is not a Monday, but a Tuesday.

Regards
Dominique

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to