Registration/Custom fields translation

Hi.

Hello,

translated affiliate into different languages. So the .po files completely adapted. We use WPML for multilingualism. We have created additional custom fields for the affiliate registration. How can the field labels be translated?

22 Responses to Registration/Custom fields translation

  1. George October 6, 2020 at 8:49 pm #

    Hi Guido,

    You’re absolutely right about [affiliates_fields] and [affiliates_banners], the former not using the correct translation and the latter showing all banners regardless of the selected language. As long as the alt value is concerned, you should add a value to the image through the Media Editor.
    We need to check the issues further and if necessary prepare an update.

    Kind regards,
    George

  2. George October 6, 2020 at 2:04 pm #

    Hi Guido,

    Sorry for the delay over here a lot of work piled on during these days and I’m checking your translations again at the moment. Once I have an update I’ll keep you notified.

    Kind regards,
    George

  3. George October 1, 2020 at 9:18 pm #

    Hi Guido,

    Indeed you’re right about this, I forgot the profile language.
    I visited your site again and created two test affiliate pages using the classic editor, one set for English language and one duplicate page set for German language and in both cases I get the correct results, please have a look below:
    https://ico2.s-pay.me/affiliates-en/?affiliates-dashboard-section=registration
    and
    https://ico2.s-pay.me/de/affiliates-de/?affiliates-dashboard-section=registration

    If this is not related to the language switching then it has to do with the page structure or with the page builder plugin, which also gives warnings on wp-content/debug.log, these also appear in the Dashboard.

    Kind regards,
    George

    • GMT-IT October 1, 2020 at 11:36 pm #

      Hi george.

      That works with the registry, that’s right. But I have now removed the dashboard on both of your pages in classic mode and added [affiliates_fields] and [affiliates_dashboard_banners]. In the case of the banners, the text in the headings etc. is translated, but the banner for English and German is displayed. Affiliates_ fields are not translated. So that can’t be the editor, even with a clean installation the result is the same.

      Best regards

      Guido

      • GMT-IT October 1, 2020 at 11:38 pm #

        I forgot to write: There is only one banner for English and one for German. But both are displayed.

        • GMT-IT October 2, 2020 at 12:02 am #

          And the “alt” attribute in the generated banner code is also missing.

          • GMT-IT October 2, 2020 at 6:16 pm #

            I disabled the WPBakery Page Builder and the errors remain the same.

            • GMT-IT October 6, 2020 at 12:10 pm #

              Hello? Everyone on vacation?

  4. George September 30, 2020 at 4:19 pm #

    Hi Guido,

    Thanks for providing access to your test site. Even though I deactivated WP Rocket it still appears to me as if there is an issue with the language switching in general. For example if I switch to German in the Dashboard, the environment still appears in English and I get the same result even if I set the default site language to German as it appears in the screenshot below.
    https://ibb.co/Yk1PNRr
    What are the contents of your wp-content/debug.log? It seems that I don’t have access.

    Kind regards,
    George

    • GMT-IT October 1, 2020 at 12:17 pm #

      Hello George,

      there is no problem with language switching! 馃檪 I only set the language to English in your user profile! Then the admin menu remains in the language that is set there. For me it’s German see:
      https://cloud.suelsen.de/index.php/s/rb2xWmsPwa7SneB

      The debug log only contains errors relating to the cryptocurrency product for woocommerce. Oleg the developer will fix it this week.

  5. George September 29, 2020 at 5:45 pm #

    Hi Guido,

    Yes please you may send the credentials to george at itthinx dot com mentioning the topic title in the subject.
    FYI, if necessary I will need to deactivate plugin(s) and in case your site is running live at the moment, I can do my tests in a staging site instead. If this is not possible to provide a staging right now, then I’ll have a look at the live site without modifying anything.
    In any case please make sure to enable WP debugging.

    Cheers,
    George

    • GMT-IT September 30, 2020 at 6:35 am #

      Hi George.

      I have set up an account for you on our development page. You should already have the mail.

      TIA

      Guido

  6. GMT-IT September 29, 2020 at 3:52 pm #

    Do you want to have a look?

  7. GMT-IT September 29, 2020 at 10:18 am #

    Hi George,

    we are working with the current version. Should I send you an admin account to the test page?

  8. George September 28, 2020 at 2:31 pm #

    Hey Guido,

    In this case please make sure to update to the latest version aka Affiliates Enterprise 4.7.0 but if the issue persists then it’s better to have a look at your Dashboard.

    Kind regards,
    George

  9. GMT-IT September 28, 2020 at 1:01 pm #

    I have the same problem with dashboard block banners. Banners in different languages are always displayed in the dashboard regardless of which language is set.
    Could this also be due to the Javascript behavior of WP 5.5.1?

  10. GMT-IT September 28, 2020 at 12:23 pm #

    Hello George,

    we use WP Rocket and Cloudflare CDN / Cache. But even if I turn off both and turn off PHP cache on the server, that doesn’t change anything.

  11. George September 28, 2020 at 8:16 am #

    Hi Guido,

    Indeed we need to update the documentation and add this entry for WPML-related translations.
    Probably clearing the cache is not enough, try switching languages while your cache plugin is temporary deactivated. Which caching plugin do you use? Is there another caching feature running through the hosting server?

    Kind regards,
    George

  12. GMT-IT September 28, 2020 at 7:05 am #

    Good Morning from Germany George. Is there a solution?

  13. GMT-IT September 25, 2020 at 5:41 pm #

    Hi george,

    after I set ‘AFFILIATES_WPML’ the fields are displayed in the WPML string translation. Unfortunately the translated strings are not displayed. Cache is cleared and CDN is deactivated. What could it be?

    TIA

    Guido

  14. GMT-IT September 25, 2020 at 5:03 pm #

    Wow. Thank you. Would be nice to find this setting in the docs. 馃槈

  15. George September 24, 2020 at 7:27 pm #

    Hi Guido, welcome back to our support forum.

    The additional fields will be translatable through WPLM String Translation tool once you add this line on your wp-config.php file:
    define( 'AFFILIATES_WPML', true );
    These fields will appear in the list of strings and you can manage their translations through that tool.

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

AffiliatesContactJobsTerms & ConditionsPrivacy PolicyDocumentationDownloadsUseful PluginsMy Account

Share