Issues loading translation .json files
-
Hello.
I have seen other reports of problems with translation .json files and would like to report the following.
I did a test with the Dutch language (which appears 100% translated on translate.ww.wp.xz.cn) and I noticed that:
For example, the translations of the plugin settings strings, generated by translate.ww.wp.xz.cn, are placed in the following file (For example, the translations of the plugin settings strings, generated by translate.ww.wp.xz.cn, are placed in the following file (which refers to dist/settings.js )
presto-player-nl_NL-b3612a2cc387a0bc9c028f9a09d3e7ed.json in wp-content/languages/plugins/
And in fact the md5 hash of dist/settings.js is b3612a2cc387a0bc9c028f9a09d3e7ed.
But internally, in the path wp-content/languages/plugins/, a file named presto-player-nl_NL-d1705e89097e5f5d77df065424753dc8.json is searched.
I tried renaming the first file with the name of the second and the translations appear.
And so you should analyze this to understand why in various places in the plugin the translations generated by translate.ww.wp.xz.cn do not appear.
Thanks.
The topic ‘Issues loading translation .json files’ is closed to new replies.