Support » Plugin: The GDPR Framework By Data443 » privacy tools page in 2 languages site

  • Resolved italwebcom

    (@italwebcom)


    the site has 2 languages: english and italian. If I consult the site in Italian, when I enter the email in the field to request my personal data (privacy tools page), I get redirected to the page in English and not in Italian. What should I do?

    • This topic was modified 5 months, 1 week ago by  italwebcom.

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Just confirming that we got your request. We’re on it.

    Plugin Author Data443 Risk Migitation, Inc.

    (@data443)

    HI @italwebcom , our dev team says There is an issue on this process and they are working on it and will publish this in next release.They are adding new hooks to handle this. THank you for bringing this to our attention.

    Plugin Author Data443 Risk Migitation, Inc.

    (@data443)

    Hi @italwebcom this has been addressed and will be included in our next release.

    thanks for the reply, can you tell me when the next update will be? for me it is urgent

    Monday morning. If you send us an email, we can get you the code sooner. support@data443.com

    @italwebcom just released here – thanks for your patience!

    Hello,
    I have the same problem and it’s not solved yet.
    I’m busy to build a multilanguage website and I have 5 languages builded with the free version of Polylang.
    At this moment, I’m testing on local host. When I test with to Privacy Tools page, I get the good translated page but after I entered the email address, I get redirected to the page in English and not in current language.
    Please, can this issue be verified also to work with Polylang?
    Or what can I do? Must I open a new ticket for this issue?
    In the meanwhile, I have already made a new topic for this matter because it’s urgent for me. 🙁
    Thanks in advance.

    • This reply was modified 4 months, 1 week ago by  alainmelsens.
    • This reply was modified 4 months, 1 week ago by  alainmelsens.
    • This reply was modified 4 months, 1 week ago by  alainmelsens.

    yes, the problem is the same for me, with the new release remain, what we can do?

    • This reply was modified 4 months, 1 week ago by  italwebcom.
    Plugin Author Data443 Risk Migitation, Inc.

    (@data443)

    In function.php need to add these hooks and need to change the URL accodingly.
    /** custom page language condition will be add inside this**/
    add_filter( ‘redirect_after_gdprf_submit’,’modify_fiter’);
    function modify_fiter($value){
    if (get_locale() == ‘language_code’) {
    return “TOOL_LANG_URL”;
    }
    }
    add_filter( ‘privacy_tools_gdprf_page_url’,’modify_fiter_url’);
    function modify_fiter_url($value){
    if (get_locale() == ‘language_code’) {
    return “TOOL_LANG_URL”;
    }
    }

    I use your code but dont work

    /** custom page language condition will be add inside this**/
    add_filter(‘redirect_after_gdprf_submit’,’modify_fiter’);
    function modify_fiter($value){
    if (get_locale() == “en”) {
    return “https://www.XXXXXX.it/privacy-tools/?lang=en&gdpr_notice=email_sent”;
    }
    }
    add_filter(‘privacy_tools_gdprf_page_url’,’modify_fiter_url’);
    function modify_fiter_url($value){
    if (get_locale() == “en”) {
    return “https://www.XXXXXX.it/privacy-tools/?lang=en”;
    }
    }

    @italwebcom development says The code is working but you need to clear website cache that is why it causes this problem. Please let us know if that does not solve the issue by sending us an email at support@data443.com. Thank you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.