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

Block strings are not displayed translated #589

Open
DAnn2012 opened this issue Feb 17, 2025 · 0 comments
Open

Block strings are not displayed translated #589

DAnn2012 opened this issue Feb 17, 2025 · 0 comments

Comments

@DAnn2012
Copy link
Contributor

Hello.

Block strings are not displayed translated:

Image

For example, with the Spanish language, for lp-admin scripts WP internally searches for a file with the strings of the .js files with the name:

wp-content/languages/plugins/learnpress-es_ES-95961fcf64c83d14395d11a95f630e26.json

which refers to the following file path: assets/js/dist/admin/admin.js

But the files that translate.wordpress.org automatically generates with the translations of the strings in the .js files are:

learnpress-es_ES-3ec1dade6b268befe01885db9525f89e.json for the file assets/js/dist/blocks/single-course.js
learnpress-es_ES-5e98fb19470ea5d975956f513f734726.json for the file assets/js/dist/blocks/archive-course.js
learnpress-es_ES-055a91ee40f362e424e13de6c68e7b50.json for the file assets/js/dist/admin/pages/tools.js
learnpress-es_ES-60682dcc850416e65db25501a8766bb1.json for the file assets/js/dist/frontend/question-types.js
learnpress-es_ES-520503a046cc0c6b1cfdc322125d8e4d.json for the file assets/js/dist/blocks/item-curriculum-course.js
learnpress-es_ES-a21c723808a8b934c1b63194f5f13437.json for the file assets/js/dist/frontend/quiz.js
learnpress-es_ES-d4ff4798849676b3ebbb41186a3e577f.json for the file assets/js/dist/frontend/modal.js
learnpress-es_ES-d744c7d33857a5671793aec2363f08fe.json for the file assets/js/dist/frontend/profile.js

Thanks.

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

No branches or pull requests

1 participant