• Resolved vogesdesign

    (@vogesdesign)


    Hello

    thank you for the awesome plugin!
    2 short questions, thank you for helping.

    1. The “Offline Text Field” is still showing the standard text, even if fields are empty under settings. It seems that it breaks out a bit as well. How to hide that line (I did not translate it to GER with WPML. That is why there is no 2nd line with that text in GER)

    Issue #1

    2. How to translate this button?

    Issue #2

    My best and thanks, J.

    • This topic was modified 5 years, 10 months ago by vogesdesign.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @vogesdesign,

    Thank you so much for getting in touch and sharing your kind words with us. This really made the teams day!

    With regards to your issues, please find my responses below:
    1. It appears as if this is being set to a default EN value and this is causing it to display. Could I ask you to add the following custom CSS to your site to overcome this in the meantime:

    #wp-live-chat-2-info {
        display: none;
    }

    This can be added under Live Chat -> Settings -> Custom Scripts -> Custom CSS. This should hide the second block permanently.

    2. Assuming that this sentence is translated in the PO file or within WPML, it should be translating automatically. Could I ask if you have enabled the “I’m using a localization plugin” option under Live Chat -> Settings -> Styling?

    Thank you for your time on this one.

    Thread Starter vogesdesign

    (@vogesdesign)

    you’re welcome, GREAT plugin!

    #1. I added your Code – it works it’s now only 1 row. thx ??

    Additional question: “Leave a message” (Offline Chat Box Title) doesn’t change when saving … ideas? (I wrote it new: “Please leave a message.” I think this maybe is related to #2?

    #2. “I’m using a localization plugin” is enabled, correct!

    Thanks for your help Dylan!

    my best
    j.

    • This reply was modified 5 years, 10 months ago by vogesdesign.
    • This reply was modified 5 years, 10 months ago by vogesdesign.
    Thread Starter vogesdesign

    (@vogesdesign)

    additional question to #1:

    if I would like to show that line, but hiding the second one in german – is that right I need a code like this here? I just guessing!

    thx ??

    
    function cp_callback_function( $display, $style_id ) {
         
            if( $style_id == 'wp-live-chat-2-info ' && ICL_LANGUAGE_CODE == 'en') return true;
    	    if( $style_id == 'wp-live-chat-2-info ' && ICL_LANGUAGE_CODE == 'de') return false;

    Hi @vogesdesign,

    Thank you very much for your continued time and patience on this one.

    Unfortunately, when using the localization option, all settings fields will be ignored. This means the plugin will only use the PO files (as managed by WPML in your case).

    This is an unfortunate side-effect of enabling full localization at this point in time.

    Could I ask you to confirm if this is working correctly when editing the strings only within WPML?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘“Offline Text Field” still appears’ is closed to new replies.