-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Description of the bug
I am not 100% sure if this qualifies as a bug or not.
But I noted that when running this to get a translation for WordPress Core, it will correctly fetch all the PO/MO files but it will not get any json files that translates the JS part (i.e. mostly the block editor).
I can however afterwards generate them myself with a WP CLI command i18n make-json wp-content/languages and the translations works.
Is that intended?
If so it feels like something that would be good to add to the documentation :)
If not intended but is a new feature, I'll happily update the issue description and again, might be good to have in the documentation.
It's a great tool, thank you for creating it!
Reproduction instructions
- Set this up with any translation apart from english.
- Run the command to fetch translations files.
- Change the site (and if needed your users) default language to the new language.
- Go into the block editor. You'll note that all block settings and the floating bar settings are still in english.
- Run the WP CLI command. It will say something like "Success: Created 49 files."
- Reload the block editor, it will now have (at least partial?) translations in the target language.
Expected behavior
for PO/MO and JSON translations to be handled by running the installer.
Environment info
- Package version: 2.6
- WP version: 6.9.4
Relevant log output
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct