• Resolved alex_moz

    (@alex_moz)


    Hello,

    Is there a plan to add the WPML support? I can use “string translation”, but it’s not convenient.

    Thank you,

    Al

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

    (@alex_moz)

    Actually, “String Translation” doesn’t detect anything. Please see below on how to fix this.

    Please change the “text_render” function inside of Public_Renderer.php:

    public function text_render($data) {
    _e(wp_kses_post(do_shortcode(str_replace('spTac', ' ', str_replace('spBac', '
    ', html_entity_decode($data))), $ignore_html = false)),'iheu');
    }

    “iheu” is just a name assigned to all strings from the plugin (this name can be used to filter all the strings inside of WPML, for easier translation).

    More information here: https://wpml.org/documentation/support/enabling-text-translation-for-themes-not-compatible-with-wpml/

    I hope you can include this in one of the upcoming updates.

    Thank you!

    • This reply was modified 1 year, 1 month ago by alex_moz.
    • This reply was modified 1 year, 1 month ago by alex_moz.
    Plugin Author biplob018

    (@biplob018)

    Hi @alex_moz

    Thank you very much for suggesting us, our developer team will do this task in the next version.

    Plugin Author biplob018

    (@biplob018)

    This thread has been inactive for a bit, so I’m going to mark it as Resolved now. Please feel free to open a new one if you have any further questions.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WPML and translations’ is closed to new replies.