WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 5 weeks ago

#45287 new task (blessed)

Deprecate and remove i18n tools

Reported by: ocean90 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:

Change History (3)

This ticket was mentioned in ​Slack in #cli by ocean90. ​View the logs.


2 months ago

#2 @nbachiyski
2 months ago

❀️ So much progress since the times when β€œparsing” PHP using a list of tokens was so much fun :)

#3 @swissspidy
5 weeks ago

What's needed here to make this happen?

Note: See TracTickets for help on using tickets.