Opened 5 years ago
Closed 4 years ago
#45287 closed task (blessed) (fixed)
Deprecate and remove i18n tools
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | WordPress.org | Priority: | normal |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
Description
The internationalization tools (also known as makepot.php
) were added in [25003].
makepot.php
was primarily used for generating POT files on WordPress.org servers for core. Later also for bbPress/BuddyPress and WordPress.org projects like Rosetta or the support forums until it was opened for plugins and themes. The canonical source of the tools is still https://i18n.trac.wordpress.org/browser/tools/trunk which was causing for files not being in sync in the past.
It has been a great pleasure to work with makepot.php
over the past 11 years but now it's time to say goodbye as there's now a proper replacement for it: wp i18n make-pot. 🎉
The new CLI command was introduced in WP-CLI 2.0 and provides full parity with makepot.php
. Actually even more like auditing strings, parsing strings only of a specific text domain, extracting JavaScript strings and extracting PHP strings which weren't caught by makepot.php
. Since last week, the build tools on WordPress.org are using the command for string extraction, see #meta3748.
Therefore I'm proposing to remove the tools from core.svn and promote the use of wp i18n make-pot
and concentrate our efforts on the new command.
Tickets which can be closed:
❤️ So much progress since the times when “parsing” PHP using a list of tokens was so much fun :)