-
Notifications
You must be signed in to change notification settings - Fork 296
Closed
Labels
Description
WordPress 6.5 added a new PHP translation file format to replace/complement MO files for performance reasons.
Poedit might want to add support for this format so that in addition to (or in replacement of) MO files it could generate these PHP files as well.
Alternatively, users can use tools such as WP-CLI or dedicated WordPress plugins to create those files. Perhaps that route is preferable, but I figured I'd share it nonetheless.
Resources:
- https://make.wordpress.org/core/2024/02/27/i18n-improvements-6-5-performant-translations/
- https://github.com/wp-cli/i18n-command/blob/6d58aa50259d29d1b13c64a7dd86c2a13c866853/src/MakePhpCommand.php
- https://github.com/GlotPress/GlotPress/blob/10644fd9bebd966c1327ff7fea3879556be7833b/gp-includes/formats/format-php.php
Related: #797
vslavik