Open douglascugliaridev opened 5 days ago
Thanks for the question. They are translation files provided by the community and are used to build localized versions of axe-core.
Obrigado pela pergunta. Eles são arquivos de tradução fornecidos pela comunidade e são usados para construir versões localizadas do axe-core.
Ok, I would like to know how to generate a report in my language (Português)?
To generate a version of axe-core that is translated into Portuguese, you'll need to clone the repository to your computer, then run npm install
. Afterwards you can follow the instructions on creating a build of axe-core. We happen to have a Portuguese locale, so you can run the following command:
npm run build -- --lang=pt_BR
That should generate a file called axe.pt_BR.js
that you can load in a browser and run axe-core, which will generate translated results.
Product
axe-core
Question
What is the use of json languages that are in project locales folder?