Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 669 Bytes

Commands.md

File metadata and controls

27 lines (18 loc) · 669 Bytes

Commands

WP Translation Downloader integrates with Composer, adding the following custom commands to it.

Download translations

Command:

composer wp-translation-downloader:download [--packages=<package list>]

Downloads for package translations.

By default, when no packages are passed using the --packages flag, all installed packages will be processed.

Note: The --packages flag must be a comma-separated list of package names (glob patterns supported), e.g. --packages="foo/bar,inpsyde/*".

Clean-up Translations

Command:

composer wp-translation-downloader:clean-up

Removes all files from language directories.