Stop automatic insertion of dynamic strings to database
-
I have some questions regarding how translatepress works. The following could be a result of a bug or simply my ignorance about some settings. But firstly, thank you for such a great plugin. I’ve used two other translation methods previously and so far, this is the best.
For a number of issues that we faced, I simply changed/deleted rows in the -dictionary- or -gettext- tables in the database and sorted things out. However, there is one issue that I simply cannot find a solution for:
How to stop dynamically created strings from being automatically inserted into the ‘Original’ column of the ‘-dictionary-’ table?
This is causing issues with downstream translations. In my case, I am referring mainly to dates. For example, when the date 20 May 2020 is created dynamically, it gets entered into the original column of the dictionary table. It does display the translation (20 Mai 2020) on the website fine the first time round. However, in subsequent displays of the date (after a page/section refresh), only the English string will appear because the plugin finds the date 20 May 2020 in the table but does not find a translation for it in the Translated column. Is there a way to stop the automatic database entry? I’m happy to meddle with the code – I just need to know where to look / what to edit.
Note 1: I have used the settings found in the Advance tab for TranslatePress [Exclude strings from automatic translation and Exclude selectors from translation] but these have not helped.
Note 2: In the provided link, it is necessary to follow the booking right through to the confirmation page, then make selections and view the date in the “Preisaufschlüsselung” section. Apologies that the page has to be in German otherwise the error does not show.
The page I need help with: [log in to see the link]
- The topic ‘Stop automatic insertion of dynamic strings to database’ is closed to new replies.