Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output the json of strings used in the frontend with js #21

Closed
erikyo opened this issue Mar 18, 2024 · 3 comments · Fixed by #26
Closed

Output the json of strings used in the frontend with js #21

erikyo opened this issue Mar 18, 2024 · 3 comments · Fixed by #26

Comments

@erikyo
Copy link
Collaborator

erikyo commented Mar 18, 2024

Like this one:

https://developer.wordpress.org/cli/commands/i18n/make-json/

@0zd0
Copy link

0zd0 commented May 4, 2024

By the way, the script is incompatible with make-json, it makes the path "\assets\main-C13JnjQB.js:9", but you need "/assets/main-C13JnjQB.js:9" for md5 to work correctly

@erikyo
Copy link
Collaborator Author

erikyo commented May 5, 2024

This module not intended to be compatible with the wp-cli utility, and should fully cover also the make-json functionality in the future

Anyhow good to know about the reversed slashes, thanks, it seems that poedit (or even wordpress) works flawlessly with the any kind of slash while make-json seems not.

@erikyo
Copy link
Collaborator Author

erikyo commented May 10, 2024

@plaksherie the #23 was closed, thank you for the report

@erikyo erikyo mentioned this issue Jul 6, 2024
@erikyo erikyo closed this as completed in #26 Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants