-
Notifications
You must be signed in to change notification settings - Fork 23
Localization
The PSAT extension and CLI are now available in 6 different languages:
- English (Default)
- Hindi
- Japanese
- Korean
- Portuguese (Brazil)
- Spanish
To view PSAT in your preferred language, you can change the display language settings of your Chrome browser. Here are the steps for each operating system:
To change the Chrome's display language on macOS, follow these steps:
- On your Mac, choose Apple menu > System Settings,
- Click General in the sidebar
- Click Language & Region on the right. (You may need to scroll down.)
- Go to Applications
- Click the Add button (+)
- Choose Chrome and a language from the pop-up menus, then click Add.
- Restart Chrome if necessary.
To change the Chrome's display language on Windows, follow these steps:
- Visit -
chrome://settings/languages
- Click on Add Languages.
- Select the language you want to add.
- Once the language is added, click the three dots to the right of the language.
- Select "Display Google Chrome in this language" from options.
- Once done relaunch the browser.
To change the Chrome's display language on Ubuntu, follow these steps:
- Open Settings.
- Open "Language and Region".
- Click on "Manage Installed Languages".
- Click on "Install / Remove Languages".
- Select your desired language from the list.
- Open "Language and Region" again.
- Click on language section and select your desired language.
- Restart your system.
To generate PSAT CLI reports in your preferred language, use -l
or --locale
option when running the command. By default, the language is set to English.
PSAT CLI currently supports the following languages with their respective language codes:
Language | Code |
---|---|
English | en (default) |
Hindi | hi |
Japanese | ja |
Korean | ko |
Portuguese (Brazil) | pt-BR |
Spanish | es |
Here is an example of how to set the language when using PSAT CLI:
psat https://example.com -l hi
Here, -l hi
sets the language to Hindi (hi).
Note that if you are using PSAT CLI by cloning the repository, you would use the following:
npm run cli https://example.com -- -l hi