+
Skip to content

Translation problem in dokan dashboard. Json file cannot be loaded #2806

@sorayastar1400

Description

@sorayastar1400
Image

Bug Description

Hello, I wanted to inform you about a bug.
Some translations are not applied in the Dokan Lite plugin.
In most parts of the plugin, both the .po translation file and the .json translation files are applied, but in some parts, such as the user dashboard, the .json file is not applied and cannot be loaded (only the .po file is applied).
Please inform the technical team about this so that the problem can be fixed. This has frustrated many users.

Step To Reproduce

1- I synchronized the translation file with the template file and translated all the new strings, then I created the json files by saving the translation in the Loco Translator plugin.
2- I went to the shop dashboard, but some of the strings whose translation was in the translation file were not translated. By inspecting the page elements, I realized that the json files are not loaded on this page. The translation language was Persian, but I think it is the same for all languages.
I should mention that I tried to translate a few of them with the say what? plugin. For some of them, such as Overview, it worked, but for others, such as Performance or Charts, the translation would disappear after a few moments.

Expected Behaviour

I expected all translations to run correctly, especially with the creation of the json file.

Actual Behaviour

1-Some translations are not applied
2-Json file is not loaded on the dashboard page
3-Despite rebuilding the translation with the say what? plugin, the translation disappears after a few moments

Additional Information

No response

Environment (please complete the following information)

1. Dokan Version: [e.g. v4.0.4]
3. WooCommerce Version: [e.g. v10.0.2]
4. Browser [e.g. chrome, firefox]
5. Current Theme: [e.g. woodmart]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载