From fea2d96c9c5f10a4d034a900ea78448f5f6ad482 Mon Sep 17 00:00:00 2001 From: Aaron Schrab Date: Thu, 26 Oct 2023 20:25:50 -0400 Subject: [PATCH 1/2] Remove stray word in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1812ee0b1b..8dc120688c 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ The [axe-core API](doc/API.md) package consists of: ## Localization -Axe can be built using your local language. To do so, a localization file must be added to the `./locales` directory. This file must have be named in the following manner: `.json`. To build axe using this locale, instead of the default, run axe with the `--lang` flag, like so: +Axe can be built using your local language. To do so, a localization file must be added to the `./locales` directory. This file must be named in the following manner: `.json`. To build axe using this locale, instead of the default, run axe with the `--lang` flag, like so: `grunt build --lang=nl` From 64c3a2674b5892c096b679ddd267e76ada1dee5d Mon Sep 17 00:00:00 2001 From: Aaron Schrab Date: Thu, 26 Oct 2023 20:27:19 -0400 Subject: [PATCH 2/2] Add missing word in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8dc120688c..e415cc671a 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ or equivalently: `npm run build -- --lang=nl` -This will create a new build for axe, called `axe..js` and `axe..min.js`. If you want to build localized versions, simply pass in `--all-lang` instead. If you want to build multiple localized versions (but not all of them), you can pass in a comma-separated list of languages to the `--lang` flag, like `--lang=nl,ja`. +This will create a new build for axe, called `axe..js` and `axe..min.js`. If you want to build all localized versions, simply pass in `--all-lang` instead. If you want to build multiple localized versions (but not all of them), you can pass in a comma-separated list of languages to the `--lang` flag, like `--lang=nl,ja`. To create a new translation for axe, start by running `grunt translate --lang=`. This will create a json file fin the `./locales` directory, with the default English text in it for you to translate. Alternatively, you could copy `./locales/_template.json`. We welcome any localization for axe-core. For details on how to contribute, see the Contributing section below. For details on the message syntax, see [Check Message Template](/docs/check-message-template.md).