Skip to content

Commit

Permalink
Merge pull request #248 from wp-cli/regenerate-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera authored May 10, 2021
2 parents 33d051e + 9ce83d2 commit e836f36
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ wp-cli/i18n-command

Provides internationalization tools for WordPress projects.

[![Build Status](https://travis-ci.org/wp-cli/i18n-command.svg?branch=master)](https://travis-ci.org/wp-cli/i18n-command)
[![Testing](https://github.com/wp-cli/i18n-command/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/i18n-command/actions/workflows/testing.yml)

Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing) | [Support](#support)

Expand Down Expand Up @@ -31,7 +31,7 @@ wp i18n
Create a POT file for a WordPress project.

~~~
wp i18n make-pot <source> [<destination>] [--slug=<slug>] [--domain=<domain>] [--ignore-domain] [--merge[=<paths>]] [--subtract=<paths>] [--include=<paths>] [--exclude=<paths>] [--headers=<headers>] [--skip-js] [--skip-audit] [--file-comment=<file-comment>] [--package-name=<name>]
wp i18n make-pot <source> [<destination>] [--slug=<slug>] [--domain=<domain>] [--ignore-domain] [--merge[=<paths>]] [--subtract=<paths>] [--include=<paths>] [--exclude=<paths>] [--headers=<headers>] [--skip-js] [--skip-php] [--skip-block-json] [--skip-audit] [--file-comment=<file-comment>] [--package-name=<name>]
~~~

Scans PHP and JavaScript files for translatable strings, as well as theme stylesheets and plugin files
Expand Down Expand Up @@ -86,6 +86,12 @@ if the source directory is detected as either a plugin or theme.
[--skip-js]
Skips JavaScript string extraction. Useful when this is done in another build step, e.g. through Babel.

[--skip-php]
Skips PHP string extraction.

[--skip-block-json]
Skips string extraction from block.json files.

[--skip-audit]
Skips string audit where it tries to find possible mistakes in translatable strings. Useful when running in an
automated environment.
Expand Down Expand Up @@ -190,7 +196,7 @@ Once you've decided to commit the time to seeing your pull request through, [ple

## Support

Github issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support


*This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*

0 comments on commit e836f36

Please sign in to comment.