• Resolved Stephanie

    (@stephcerratti)


    Hello,

    I am using your plugin to update some of the theme string translations. Some have been successful, but others do not appear to show on the frontend.

    For example, this “Related Sections” translation, as well as this “Product Info” translation. Do you have any idea why?

    Screenshots here

    Here is the code to display “Related Sections”:

    echo ! empty( $short_desc ) ? sprintf(
    '<div class="additional-links-container">
    <h6>Related Sections</h6>
    <ul class="additional-links" itemprop="description">%s</ul>
    </div>',
    $short_desc ) : "" ;

    Thank you!
    Stephanie

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • I also having trouble, strings are not showing on front end, with plugin “EU/UK VAT for WooCommerce”

    The field is showing on text translations in Polylang settings, but not on front-end.
    EU VAT Number field should be translated to EU BTW-nummer.
    See page: https://martech.test.hosting.byelex.net/nl/bestellen/

    Plugin Author Marcin Kazmierski

    (@marcinkazmierski)

    Hi @stephcerratti ,
    function sprintf() is not translate function, please use “__()”, for example:

    echo sprintf(__("text %s", 'your__text_domain'), $data);

    @mschouten – maybe you have the same problem, please send a code snippet with this text.

    Hello,
    No, the plugin EU/UK VAT for WooCommerce is using another method for translation (shortcodes). So it was not an issue. Thank you for your time:)

    Plugin Author Marcin Kazmierski

    (@marcinkazmierski)

    ok ??

    Hello,

    I have the same problem, I have a site with 3 languages, Installed your plugin to translate Read more… button’s string on blog page, I see 3 text fields for each language on String translate section, but when I change them nothing happens on front end, can you help me to fix it pls?

    Thank You

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘String Translations Not Showing on Front End’ is closed to new replies.