Traduttore requires WP-CLI 2.0 or newer to be installed on the server.
You can define
TRADUTTORE_WP_BIN in your
wp-config.php file to tell Traduttore where the WP-CLI executable is. The default is
Generate language packs for one or more projects.
wp traduttore language-pack build <project>
Language packs will automatically be updated upon translation changes. This WP-CLI command is mostly useful for debugging / testing.
--force flag to force ZIP file generation, even if there were no changes since the last build.
--all flag to generate the language packs for all active projects.
List language packs for the given project.
wp traduttore language-pack list <project|repository_url>
Updates project translations from source code repository.
Pulls the latest changes, extracts translatable strings and imports them into GlotPress.
wp traduttore project update <project|repository_url>
--delete flag to first delete the existing local repository.
Removes the cached source code repository for a given project.
Useful when the local repository was somehow corrupted.
wp traduttore project cache clear <project|repository_url>
There’s a command to print some helpful debug information about a given project.
This includes things like the text domain and repository URLs.
wp traduttore project info <project|repository_url>
There’s a command to print some helpful debug information about Traduttore.
This includes things like the plugin version and path to the cache directory.
wp traduttore info