• Resolved cagatay123

    (@cagatay123)


    Hello,

    1. “[Loco.error] “Translation set not known in reCaptcha by BestWebSoft” in src/admin/bundle/BaseController.php:82\n”

    I am having this error. I have contacted with my host company and they couldn’t solve the problem as well. Could you help me to solve this problem.

    2. I am using this plugin to translate everything into Polish language and every text has been translated without any problem but one. When you clicked the register icon on top right corner, a small windows pops up and you see there an English text which is “Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our?polityka prywatno?ci.”

    I have wrote the Polish translation in the translations area but still not showing the Polish version.

    Regards

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error and translation not working’ is closed to new replies.