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?


Comments

25 responses to “Registration/Custom fields translation”

  1. Hi Guido,

    Sorry for the delay but an updated version of Affiliates Enterprise plugin will be released within the following days and will cover all issues with translations in WPML, including missing translations for [affiliates_fields], display of only the language specific banners through [affiliates_banners] and multilingual templates for affiliates notifications.

    Kind regards,
    George

  2. 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

    1. Hello George.
      Hopefully it won’t take that long. So there are even more problems with multilingualism. There is no option to translate notification e-mails ….

      Best regards

      Guido

  3. 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

    1. Cool. Thought you were sick. You can switch off WPBakery to test it.

  4. 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

    1. 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

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

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

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

            1. Hello? Everyone on vacation?

  5. 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

    1. 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.

  6. 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

    1. Hi George.

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

      TIA

      Guido

  7. Do you want to have a look?

  8. Hi George,

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

  9. 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

  10. 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?

  11. 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.

  12. 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

  13. Good Morning from Germany George. Is there a solution?

  14. 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

  15. Wow. Thank you. Would be nice to find this setting in the docs. 😉

  16. 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

Share