You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your use case and the problem you are facing
When we do wp i18n make-php it creates PHP files containing one line, like minified PHP, but If we want to delete the old .po/.mo files to work with only PHP translations, working one line generated files is not practical
Activity
swissspidy commentedon Apr 9, 2024
We can add a
pretty-printoption like we have for make-json. Wanna help put a PR together? :)sovetski commentedon Apr 9, 2024
Done: #396
Let me know if something is not OK 😊
kkmuffme commentedon Nov 6, 2024
What exactly is the benefit of pretty-printing? Do you not use .po files anymore at all or why would tracking changes in the .l10n.php matter?
Just asking :-)
sovetski commentedon Nov 6, 2024
@kkmuffme yes exactly it is to not use .po files anymore, php files are more readable and easy to edit