• Resolved mysitee

    (@mysitee)


    Hello!

    I’ve been stuck at this problem for some months now and cannot seem to find any answers from support – maybe someone has had the same problem and can help.

    The problem persists if you use TranslatePress and WPBookingSystem plugins.

    WPBookingSystem provides email invoices for bookings. The invoice sent using the local language is totally fine and without any bugs. The invoice sent in the second language (English), is bugged.

    The date fields in the invoice have some strings that should not be seen by the end user. The strings are: #!trpst#trp-gettext data-
    trpgettextoriginal=#!trpen#Oct#!trpst#/trp-gettext#!trpen# 2023

    I’ve contacted WPBookingSystem support and they said that it probably has something to do with TranslatePress. They do not know what exactly.

    NB! I have already checked the box “Disable translation for gettext strings” and also added the strings for the plugin to exclude them. Although I might not be putting the correct string.

    Would anybody know what to do with this bug?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mysitee

    (@mysitee)

    Hello!

    I actually now resolved this somehow.

    Steps on how to fix this:

    In translatepress: go to advanced, then exclude strings

    In the “Exclude Gettext Strings” write the according date, for example “Oct” in the “Gettext String” column boxes.

    Press save and the invoices should be fixed.

    Plugin Support Anghel Emanuel

    (@anghelemanuel99)

    Hello there,

    I am glad that you manage to solve the issue that you have.

    Have a great day!

    Kind Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get-text string bug in email invoice translation’ is closed to new replies.