Skip to content

Block strings are not displayed translated #589

@DAnn2012

Description

@DAnn2012

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions