Appearance
To download glossary entries from Zanata, the command-line client's glossary-pull command can be used.
Pull from System glossary
bash
zanata-cli glossary-pullThis command will:
- Look up the server config from
zanata.xml. - Download all glossary entries in server
- The file will be in
.csvformat. (default)
Pull from Project glossary
bash
zanata-cli glossary-pull --project project1This command will:
- look up the server config from
zanata.xml. - Download all glossary entries from
project1in server - The file will be in
.csvformat. (default)
Pull in different format
To download in different format, use the --file-type options (csv or po). For example:
bash
zanata-cli glossary-pull --file-type poTo download only specific locales for --file-type po, use the --trans-lang options. For example to download de and fr locales only:
bash
zanata-cli glossary-pull --file-type po --trans-lang de,frTo see all options available for glossary-pull option:
bash
zanata-cli help glossary-pull