max_liu b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
..
README.md b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
_template.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
da.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
de.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
el.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
es.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
eu.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
fr.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
he.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
it.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
ja.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
ko.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
nl.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
no_NB.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
pl.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
pt_BR.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
zh_CN.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten
zh_TW.json b7ab7c8514 chore: 更新node_modules依赖文件 2 viikkoa sitten

README.md

Localizations

We welcome any localization for axe-core. For details on how to contribute, see the Contributing section of the main README. For details on the message syntax, see Check Message Template.

To create a new translation for axe, start by running grunt translate --lang=<langcode>. This will create a JSON file with the default English text in it for you to translate. Alternatively, you could copy _template.json.

To update an existing translation file, re-run grunt translate --lang=<langcode>. This will add new messages used in English and remove messages that are no longer used in English.

_template.json is a generated file which is created every time axe is built. It's compiled using each rule's description and help properties, as well as each check's metadata.messages property. To update the _template.json file you'll need to update the corresponding rule or check metadata file and rebuild.