• Hi,
    I am using this plugin https://www.ads-software.com/plugins/popup-maker/ and although I have the option to translate the text, when I go to the page I have attached the popup to (page in English) and switch to say German (using the flags switch you have reccomended a while ago), the content of the popup window remains in English although a German version of the popup exists …
    Do you have any idea why? And how to fix?
    Seems like it’s just a custom post type, but the language swicher does not really kick ?!?
    Thx

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter candy2012

    (@candy2012)

    just noticed that only the Title of the poupup gets translated, but not the contents of the poupup ??!
    is there a setting missing somehwere maybe??!

    Please try this in the function.php of your theme:

    
    add_filter('pum_popup_content', function($content, $id) {
    		
      return apply_filters('sublanguage_translate_post_field', $content, get_post($id), 'post_content');
    		
    }, 10, 2);
    
    Thread Starter candy2012

    (@candy2012)

    WOW! That worked!
    Thank you very much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translate popup?!?’ is closed to new replies.