wp i18n
Provides internationalization tools for WordPress projects.
# Create a POT file for the WordPress plugin/theme in the current directory
$ wp i18n make-pot . languages/my-plugin.pot
Name | Description |
---|---|
wp i18n make-pot
|
Create a POT file for a WordPress project. |
wp i18n make-json
|
Extract JavaScript strings from PO files and add them to individual JSON files. |
wp i18n make-mo
|
Create MO files from PO files. |