• Resolved Henrijs

    (@hekcis)


    When using another language, woocommerce errors are shown weirdly.

    This is the error that shows:
    #!trpst#trp-gettext data-trpgettextoriginal=1505#!trpen##!trpst#trp-gettext data-trpgettextoriginal=2516#!trpen#Поле #!trpst#trp-gettext data-trpgettextoriginal=1503#!trpen#регистрационный номер#!trpst#/trp-gettext#!trpen##!trpst#/trp-gettext#!trpen# является обязательным полем.#!trpst#/trp-gettext#!trpen#
    #!trpst#trp-gettext data-trpgettextoriginal=1505#!trpen##!trpst#trp-gettext data-trpgettextoriginal=2516#!trpen#Поле #!trpst#trp-gettext data-trpgettextoriginal=1504#!trpen#юридический адреc#!trpst#/trp-gettext#!trpen##!trpst#/trp-gettext#!trpen# является обязательным полем.#!trpst#/trp-gettext#!trpen#
    #!trpst#trp-gettext data-trpgettextoriginal=1505#!trpen##!trpst#trp-gettext data-trpgettextoriginal=2516#!trpen#Поле #!trpst#trp-gettext data-trpgettextoriginal=2496#!trpen#Bankas nosaukums#!trpst#/trp-gettext#!trpen##!trpst#/trp-gettext#!trpen# является обязательным полем.#!trpst#/trp-gettext#!trpen#
    #!trpst#trp-gettext data-trpgettextoriginal=1505#!trpen##!trpst#trp-gettext data-trpgettextoriginal=2516#!trpen#Поле #!trpst#trp-gettext data-trpgettextoriginal=2497#!trpen#Konta numurs#!trpst#/trp-gettext#!trpen##!trpst#/trp-gettext#!trpen# является обязательным полем.#!trpst#/trp-gettext#!trpen#
    #!trpst#trp-gettext data-trpgettextoriginal=1505#!trpen##!trpst#trp-gettext data-trpgettextoriginal=2516#!trpen#Поле #!trpst#trp-gettext data-trpgettextoriginal=1497#!trpen#э-почта#!trpst#/trp-gettext#!trpen##!trpst#/trp-gettext#!trpen# является обязательным полем.#!trpst#/trp-gettext#!trpen#
    #!trpst#trp-gettext data-trpgettextoriginal=1505#!trpen##!trpst#trp-gettext data-trpgettextoriginal=2516#!trpen#Поле #!trpst#trp-gettext data-trpgettextoriginal=1496#!trpen#Телефон#!trpst#/trp-gettext#!trpen##!trpst#/trp-gettext#!trpen# является обязательным полем.#!trpst#/trp-gettext#!trpen#
    #!trpst#trp-gettext data-trpgettextoriginal=1505#!trpen##!trpst#trp-gettext data-trpgettextoriginal=2516#!trpen#Поле #!trpst#trp-gettext data-trpgettextoriginal=2495#!trpen#адрес доставки#!trpst#/trp-gettext#!trpen##!trpst#/trp-gettext#!trpen# является обязательным полем.#!trpst#/trp-gettext#!trpen#

Viewing 11 replies - 1 through 11 (of 11 total)
  • Dragos

    (@dragosvrejiu)

    Hello,

    Thank you for getting in touch with us.

    Can you give me a link to your website?

    If not, a screenshot could help.

    You can also try to turn on Filter Gettext wrapping from post content and title from TranslatePress advanced settings.

    Let me know how this goes.

    Best regards,

    Thread Starter Henrijs

    (@hekcis)

    Hello,

    I turned on the filter but no luck. There’s no point sending the website because it’s either in Russian or Latvian.
    Here will be the screenshot:
    https://prnt.sc/q9qhwk

    Dragos

    (@dragosvrejiu)

    Hi,

    Can you try disabling the caching plugin and see if it makes a difference?

    Best regards,

    Thread Starter Henrijs

    (@hekcis)

    What do you mean “Caching plugin”?

    Dragos

    (@dragosvrejiu)

    Hello,

    This is a list of some WordPress caching plugins:

    • WP Rocket
    • Cache Enabler
    • Comet Cache
    • W3 Total Cache
    • WP Super Cache
    • WP Fastest Cache
    • Hyper Cache

    If you have any of those or something similar activated , please try disabling it and let me know if it makes a difference.

    Best regards,

    • This reply was modified 4 years, 11 months ago by Dragos.
    Thread Starter Henrijs

    (@hekcis)

    Greetings.

    Unfortunately no, I don’t have any of those plugins so that’s not the cause.

    Dragos

    (@dragosvrejiu)

    Hello,

    Can you please visit TranslatePress -> Settings -> Advanced

    Then, enable these features 1 by 1 in this order and try to see if it makes a difference.

    1. Fix missing dynamic content
    2. Disable dynamic translation
    3. Fix spaces between HTML attributes
    4. Fix broken HTML

    Can you also install this mini-plugin?

    Let me know how this goes.

    Best regards,

    Thread Starter Henrijs

    (@hekcis)

    Those options only made things worse and showed random symbols.

    When installing this plugin. All text, that comes through from WooCommerce, shows up like this now: https://prnt.sc/qcnn6v

    Maybe I should reinstall something? It seems like no one else is reporting this issue.

    similar problem and i cant find a solution. similar strange gettext error, mainly in the checkout page and sometimes in the cart

    • This reply was modified 4 years, 11 months ago by grimforge.

    Hi Hekcis,

    In my experience, what helped was to add the words in the original language (for which TranslatePress was showing the error) into the list of Excluded strings under the Advanced tab (under the Gettext String, the Domain can be ignored).

    Yours,
    Janos

    Thread Starter Henrijs

    (@hekcis)

    This problem is still persistent.
    I don’t know what triggers it.
    I build a page for a client and used Woo Side Cart and Translatepress. Everythings fine.
    Duplicated the page and just changed the design – the problem is back.
    Screenshot: https://prnt.sc/sl55s1

    None of the previous solutions work for me.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Weird trp-gettext error’ is closed to new replies.