Title: wp i18n
Published: August 8, 2018
Last modified: April 17, 2026

---

# 󠀁[wp i18n <command>](https://developer.wordpress.org/cli/commands/i18n/)󠁿

Provides internationalization tools for WordPress projects.

## In this article

 * [Examples](https://developer.wordpress.org/cli/commands/i18n/?output_format=md#examples)
 * [Subcommands](https://developer.wordpress.org/cli/commands/i18n/?output_format=md#subcommands)

[ Back to top](https://developer.wordpress.org/cli/commands/i18n/?output_format=md#wp--skip-link--target)

 [ ⌊GitHub⌉ ](https://github.com/wp-cli/i18n-command)

 [ View Open Issues (0) ](https://github.com/login?return_to=%2Fissues%3Fq%3Dlabel%3Acommand%3Ai18n+sort%3Aupdated-desc+org%3Awp-cli+is%3Aopen)
[ View Closed Issues (25) ](https://github.com/login?return_to=%2Fissues%3Fq%3Dlabel%3Acommand%3Ai18n+sort%3Aupdated-desc+org%3Awp-cli+is%3Aclosed)
[Create New Issue](https://github.com/wp-cli/i18n-command/issues/new)

Unless overridden, these commands run on the `before_wp_load` hook, just before 
the WP load process begins.

### 󠀁[Examples](https://developer.wordpress.org/cli/commands/i18n/?output_format=md#examples)󠁿

    ```
    # Create a POT file for the WordPress plugin/theme in the current directory
    $ wp i18n make-pot . languages/my-plugin.pot
    ```

### 󠀁[Subcommands](https://developer.wordpress.org/cli/commands/i18n/?output_format=md#subcommands)󠁿

| Name | Description | 
| [wp i18n make-json](https://developer.wordpress.org/cli/commands/i18n/make-json/) |

Extract JavaScript strings from PO files and add them to individual JSON files.

  | 
| [wp i18n make-mo](https://developer.wordpress.org/cli/commands/i18n/make-mo/) |

Create MO files from PO files.

  | 
| [wp i18n make-php](https://developer.wordpress.org/cli/commands/i18n/make-php/) |

Create PHP files from PO files.

  | 
| [wp i18n make-pot](https://developer.wordpress.org/cli/commands/i18n/make-pot/) |

Create a POT file for a WordPress project.

  | 
| [wp i18n update-po](https://developer.wordpress.org/cli/commands/i18n/update-po/) |

Update PO files from a POT file.

  |

 _Command documentation is regenerated at every release. To add or update an example,
please submit a pull request against the corresponding part of the codebase._