Plugin Author
Tim W
(@timwhitlock)
Re issue #1 – Your plugin (which I assume is this one) has two text domains, “google-captcha” (the standard one) and also “bestwebsoft”.
By WordPress convention, themes and plugins have one text domain. If you want to translate the extra text domain, you will have to configure it in the Advanced tab, by adding a second set.
I will post separately an XML definition that you can use to paste into the. Setup tab, where it says “Import config from XML“.
Re issue #2 – Problems with translations not displaying is beyond the scope of my support.
Plugin Author
Tim W
(@timwhitlock)
<?xml version="1.0" encoding="utf-8"?>
<bundle name="reCaptcha by BestWebSoft">
<domain name="google-captcha">
<project name="reCaptcha by BestWebSoft" slug="google-captcha">
<source>
<directory>.</directory>
<exclude>
<directory>languages</directory>
<directory>bws_menu</directory>
<directory>css</directory>
<directory>js</directory>
</exclude>
</source>
<target>
<directory>languages</directory>
</target>
<template>
<file>languages/google-captcha.pot</file>
</template>
</project>
</domain>
<domain name="bestwebsoft">
<project name="BestWebSoft" slug="bestwebsoft">
<source>
<directory>bws_menu</directory>
<exclude>
<directory>bws_menu/languages</directory>
</exclude>
</source>
<target>
<directory>bws_menu/languages</directory>
</target>
<template>
<file>bws_menu/languages/bestwebsoft.pot</file>
</template>
</project>
</domain>
</bundle>
This config works for me.
I note that your plugin ships with no POT file, so creating new languages should be done by copying one of the shipped PO files that you know is correct. However, not that they seem to vary in their correctness. Some containing many more strings than others.
Plugin Author
Tim W
(@timwhitlock)
Loco Translate allows you to split these domains into separate files, but I note that the community translations for google-captcha have the two text domains combined into a single file. To my knowledge, this won’t work. That is, translations for “bestwebsoft” can never be loaded from a file named “google-captcha”. If you have any issues around this, you should contact the developer and/or the translation contributors.