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 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 main branch. The file www/test.php should be run before submitting a pull request, to ensure that the changes don't break existing tests.
The simplest local setup is Docker:
docker compose up --buildThen open http://localhost:8000/. See README.Docker.md for
port overrides and regression test details.
-
Create a local configuration file:
cp conf/i18n.conf.dist conf/i18n.conf
-
If you use PHP's built-in server, update
test_urlinconf/i18n.confto:test_url="http://localhost:8000/tests/generate.php"
-
Start a local server from the repository root:
php -S localhost:8000 -t . -
Open the application at
http://localhost:8000/www/index.php.
src/contains the checker logic.www/contains the web entry points and static assets.templates/contains the HTML/XML presentation templates.langs/*.propertiescontains UI and report strings.langs/en.propertiesis the canonical source for new messages.tests/contains generated test fixtures and expected regression results.lib/contains vendored third-party code.