I get this is maybe not the right place to ask but it seems I cannot delete this topic.
Hi @permattsson
I’m on the Swedish team of volunteer translators for WordPress, but have no relationship at all to this plugin, but may still be able to help a little bit.
Translations of strings in JavaScript files are handled in .json format. I believe that several of the commonly available tools for editing of .po files (and related compilation of .mo files) aren’t creating the .json files needed for translations (one .json for every .js file and target language.
The WordPress CLI package contains the needed tools, though. (And that’s what is used when language packs for WordPress core, plugins, and themes are generated at https://translate.ww.wp.xz.cn/, including json files for use in JavaScript.) You can start digging for more information at https://developer.ww.wp.xz.cn/cli/commands/i18n/ but, as mentioned, you may need wp-cli to be installed somewhere for this to be possible.
Hej, thanks, yes WP CLI is already installed in our servers. Thanks for the links, I’ll dive deeper into this. I get that translation has to be done on the clientside.
I’ve submitted my PO file at translate.ww.wp.xz.cn
I’ve submitted my PO file at translate.ww.wp.xz.cn
For premium plugins and other stuff not hosted at wp-org, you’d need to send your contributions to the developer for inclusion in their distribution or similar. translate.ww.wp.xz.cn only deals with plugins/themes hosted in its own repositories.
Thanks @tobifjellner for your help
Hi @permattsson
If you translate the pro version and wants to include them, you can submit it on our GitHub repository: https://github.com/publishpress/PublishPress/issues so our team can review it.
Thanks,