dequelabs / axe-core-npm

Mozilla Public License 2.0
577 stars 65 forks source link

CLI: for Simplified Chinese and Taiwanese Mandarin are traslating in respective locale #1039

Closed padmavemulapati closed 3 months ago

padmavemulapati commented 3 months ago

Product

cli

Product Version

No response

Latest Version

Issue Description

Expectation

Translation for locale should be in the respective language

Actual

Even we pass the Taiwanese Mandarin locale file - axe.zh_TW.js , translation is in General English only. Same reported in axe-core

https://github.com/dequelabs/axe-core-npm/assets/47409579/a177922c-7f75-4c79-bf88-acc45739cae3

How to Reproduce

  1. create a directory and cd to that
  2. npm init -y
  3. npm i @axe-core/cli@rc
  4. run the command axe https://qateam.dequecloud.com/attest/api/test.html --axe-source . /axe.zh_TW.js --save locale.json
image

Environment:

Label Value
Product axe-core-npm
Version 4.9.1-4cb64b0.0
Selenium-webdriver-Version 4.19.0
OS-Details _MACOS-Sonoma14.4 and Windows 11
BrowserDetails Chrome Version 123.0.6312.87 && Firefox 123.0.1
michael-siek commented 3 months ago

Closing it looks like the issue exist in axe-core https://github.com/dequelabs/axe-core/issues/4388#issuecomment-2034945694

padmavemulapati commented 3 months ago

Closing this as tracking in axe-core ticket