-
Notifications
You must be signed in to change notification settings - Fork 9
Projects command examples
Dmitry Studynsky edited this page Jul 9, 2025
·
1 revision
Examples of how to use the projects command.
Table of content
- List of all projects in your account
- Information about the project
- Listing all target locales
- Listing only locale IDs
- Display only source locale
- Display only enabled target locales
$ smartling-cli projects list
2f2xxxxx Sitecore Connector en-US
129xxxxx Wordpress Connector en
855xxxxx Drupal Connector en
7c7xxxxx Word files en
$ smartling-cli projects info
ID 2f2xxxxx
ACCOUNT a3exxxxx
NAME Test site
LOCALE en-US: English (United States)
STATUS active
Display all target project locales along with their descriptions.
$ smartling-cli projects locales
zh-CN Chinese (Simplified) true
en-AU English (Australia) true
fr-FR French (France) true
de-DE German (Germany) true
it-IT Italian (Italy) true
ru-RU Russian true
es Spanish (International) true
Show the short form of the locales list. You can use the -s or --short options.
$ smartling-cli projects locales -s
zh-CN
nl-NL
de-DE
$ smartling-cli projects locales --source
en-US English (United States)
Display a short form of the source locale.
$ smartling-cli projects locales --source -s
en-US
Display only the enabled locales with custom output formatting.
$ smartling-cli projects locales --format='{{if .Enabled}}{{.LocaleID}}{{end}}\n'
zh-CN
nl-NL
de-DE
Read more about Golang templates.