Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    I have had the same problem since the last update. The strings are translated in french but are always displayed in English.

    I try to deactivate the plugin, erase the strings, it is still not working.

    Is the problem coming from cookie notice or wpml ?

    Plugin Author dFactory

    (@dfactory)

    Hi,

    The last update removed plugin translations from the core in favor of WP translation engine.

    But it should not be related with the issue you have – the way of handling strings translation didn’t change.

    Wre you using WPML string translation tool?

    Regards,
    Bartosz / dfactory team

    Yes, we are using WPLM string translation tool.
    It worked fine before this last update.

    Plugin Author dFactory

    (@dfactory)

    Can you share a link to your site?

    On my site also does not work translation.
    Regardless of the language of the page is displayed in the main language of the page.
    The page is configured WMPL two domains.
    -krzysztoflitwinski.pl – the main language Polish
    -krzysztoflitwinski.com – additional English language
    In the “WPML – String transtaltion” text and button text is translated from Polish into English.

    With the previous version of WPML plugin to work properly.

    Information data:
    -WP v4.5.2
    -WPML v3.4.0
    -Cookie Notice by dFactory v1.2.35
    -PHP v7.0.7

    Plugin Author dFactory

    (@dfactory)

    Looks like the WPML has changed something in it’s core features without taking a “deprecated” approach, or they just have a bug in the recent version.

    We’l get into this.

    There is something new about this? I’m experiencing the same problem, now the message is always in English ((

    Yeah, same issue here.
    String’s translation doesn’t appears in the related language.
    Waiting for some news.
    Thanks for the effort.

    Hello !
    Same issue, but I read on WPML’s FAQ that the icl_register_string and icl_t hooks are no longer supported. But the string translation of cookie notice is base on these two hooks :

    if ( function_exists( 'icl_t' ) ) {
    	$this->options['general']['message_text'] = icl_t( 'Cookie Notice', 'Message in the notice', $this->options['general']['message_text'] );
    	$this->options['general']['accept_text'] = icl_t( 'Cookie Notice', 'Button text', $this->options['general']['accept_text'] );
    	$this->options['general']['refuse_text'] = icl_t( 'Cookie Notice', 'Refuse button text', $this->options['general']['refuse_text'] );
    	$this->options['general']['see_more_opt']['text'] = icl_t( 'Cookie Notice', 'Read more text', $this->options['general']['see_more_opt']['text'] );
    	$this->options['general']['see_more_opt']['link'] = icl_t( 'Cookie Notice', 'Custom link', $this->options['general']['see_more_opt']['link'] );
    }

    Some modifications are required to properly use it. BTW I use JS script to replace string in my website pending an update.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘wpml not showing translated strings’ is closed to new replies.