wp-cli / language-command

Installs, activates, and manages language packs.
MIT License
13 stars 21 forks source link

Properly delete JSON & PHP translation files #137

Closed swissspidy closed 5 months ago

swissspidy commented 5 months ago

JSON translation files were introduced in WordPress 5.0. Testing their removal is trickier as the file names contain MD5 hashes that can change, so I didn't include this.

.l10n.php are a new introduction in WordPress 6.5. Language packs served by wp.org will soon start to include those. files.

Fixes #129