Closed r12a closed 8 years ago
Having worked on the i18n checker over the last couple of days, i'm now more inclined to think we should maintain the checker separately from the validator. There are a fair few tests that aren't just validation, or that may provide information that's not relevant for the validator, and there is much more emphasis on education in the checker. Also, the checker has some useful tailoring for pages with doctypes other than just HTML5 that take into account differences for encoding and language declarations. Add to that the usefulness of things mentioned above, such as a split between informational vs warning reports
This issue is meant to initiate a discussion about whether the i18n checker can be merged with the html validator(s). I'm not sure what's the best approach.
The i18n checker has two main elements:
The information panel at https://validator.w3.org/i18n-checker/ is very useful, and is pointed to from many places including many of our i18n educational materials, but the checks that appear below it duplicate some of the checks done by the html validator, and moreover, there are tests that are done by the html validator that it would be useful to replicate in the i18n checker report.
Although I prefer the styling and UI of the current i18n checker, it doesn't seem to make a lot of sense to duplicate the work of writing checks and the messages that accompany them, so i'm thinking that we should probably try to use the same code for both.
On the other hand, i think it can be a nice feature to report only i18n issues, so i'm a little sorry to lose that. I also think it's a shame that validator.nu doesn't distinguish between warnings and info-items like the i18n-checker does.
I'm not keen to have to update both validator and validator.nu, however. Perhaps i'd need to choose just validator.nu to merge with, which would mean dropping support for some of the formats that the i18n checker currently supports.
On the other hand, i'd also want to be able to modify the html validator in order to:
Another question to consider is how to combine the code. It's useful to maintain the URL for the i18n checker and its info table, but there are number of possible scenarios for the reports that follow the info table:
I'd like to gather opinions about whether this makes any sense (ccing @sideshowbarker to get his pov).
Other factors: