i18n-command
i18n-command copied to clipboard
Provides internationalization tools for WordPress projects.
## Bug Report WP-CLI 2.7.0-alpha-9fcc59a https://github.com/wp-cli/i18n-command/issues/154 is partially back (or maybe never fully fixed?) ``` // translators: %1$s: provider, %2$s: collaborations settings link printf( esc_html__( 'The %1$s URL provided in...
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** (Side note: The new `update-po` subcommand is awesome!) Currently...
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** `update-po` doesn't preserve unused translations/comments inside the PO files....
## Feature Request - [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/). **Describe your use case and the problem you are facing** When the glob passed to `wp i18n update-po` results...
## Add *.vue file support to `wp i18n make-pot` Is there any plan to add VueJS support to `wp i18n make-pot`? Right now it doesn’t add those strings to pot...
It would be nice for `wp-cli make-pot` to support twig template out of the box. Some of the building blocks: https://github.com/timber/timber/pull/1753 https://github.com/umpirsky/Twig-Gettext-Extractor/pull/60
I was not expecting `make-json` to be destructive when first running the command and lost _test_ data. Should the default be changed to not purge? Or require `WP_CLI::confirm` if `purge/no-purge`...
`make-json` extract JavaScript strings from PO files with .js and .min.js files extensions while generating individual JSON files like it should. But I have JS files with other extensions (for...
It would be great if the i18n could include the full path to the files in Warnings & also put the file first, as this is more common among tools...
Looking at #39 again, I feel like it might be easier to have a dedicated command for the audit part, e.g. `wp i18n audit`. Then `make-pot` doesn't have to deal...