To download glossary entries from Zanata, the command-line client's glossary-pull command can be used.
Pull from System glossary
zanata-cli glossary-pull
This 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
zanata-cli glossary-pull --project project1
This 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:
zanata-cli glossary-pull --file-type po
To download only specific locales for --file-type po, use the --trans-lang options.
For example to download de and fr locales only:
zanata-cli glossary-pull --file-type po --trans-lang de,fr
To see all options available for glossary-pull option:
zanata-cli help glossary-pull