w3c/i18n-checker

Name: i18n-checker

Owner: World Wide Web Consortium

Description: W3C's i18n checker

Created: 2016-07-19 18:22:36.0

Updated: 2018-01-02 03:44:34.0

Pushed: 2017-03-14 14:55:51.0

Homepage: https://validator.w3.org/i18n-checker/

Size: 998

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

W3C's i18n Checker

This checker performs various tests on a Web Page to determine its level of internationalisation-friendliness. It also summarises key internationalization information about a page, such as character encoding and language declarations, etc.

See the latest released version of the checker at https://validator.w3.org/i18n-checker/

The checker is also integrated into Unicorn.

The checks run by the currently released version of the checker are documented at https://www.w3.org/International/quicktips/doc/checker.

This software is free/open source, licensed under the terms of the W3C software licence.

There is a set of installation notes for those who want to work with the source code.

Proposals for changes to the checker must be submitted via pull requests, and will need to be reviewed by someone other than the proposer before merging with the master branch. The file www/test.php should be run before submitting a pull request, to ensure that the changes don't break existing tests.

When submitting a pull requests for a new check, you should

  1. add new tests for that check in tests/data.php
  2. add calls to those tests to www/test.php, and ensure that none of the previous tests break
  3. add the check to doc/checker.en.php
  4. add parsed data that may be useful elsewhere to the class.Parser.php file, but add the actual test to class.Checker.php
  5. add the full set of messages and links needed for the report to langs/en.properties

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.