• Resolved tonyqm

    (@tonyqm)


    Hello,

    I work with a website that uses TranslatePress for Multilingual sites, with the default language being in Swedish and available translations in English, Danish, Norwegian and Finnish. The site also uses WooCommerce. However, there has been some type of error and now, all the translations for the WooCommerce product pages on the site have been removed. When I open the translating option on product pages, there are no translations available for any strings in any of the other languages. Another weird thing is that the original text on the product pages (which was in Swedish for all pages) has now been replaced with the English translation as the new default text. When I open the translating option on any of these product pages, there are no translations available in any of the other languages except for the default text on the page (now in English but supposed to be in Swedish).

    I am thinking this might have something to do with WooCommerce, as the other pages (which are not connected to WooCommerce) still have the default Swedish text with options for English, Danish, Norwegian and Finnish translations. See for example a non-WooCommerce page page with working translations:

    https://dualtronnordic.com/

    And here an example of a WooCommerce product page with missing translations and with the default text now in English:

    https://dualtronnordic.com/product/dualtron-spider/

    Any help is appreciated, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Alex

    (@alexcozmoslabs)

    Hi,

    The translations are disabled just in case you are making major changes to your strings in the default language. But what you’ve reported (original strings replaced with translated ones in the default language) is not something we are familiar with. I mean, TP doesn’t make changes to default content, and also those are user-driven strings (description, titles of the product) so there is no sense to be interchangeable.

    We save all translations in _trp_* tables from your database, so there should still be there (only if they were not deleted manually.) but an automatic transaltion deletion directly from our system is exlcuded.

    Thread Starter tonyqm

    (@tonyqm)

    Hi,

    Thank you for your reply. What does it mean that the translations are disabled? Does this mean I can get them back somehow? How do I access these “_trp_* tables” you are mentioning?

    Since TP does not edit the original content, perhaps it is possible that WooCommerce has changed the content to English when the plugin was updated or something similar.

    Plugin Support Alex

    (@alexcozmoslabs)

    Translations made with TP are saved in _trp* tables from your database.

    To facilitate translation retrieval we implemented the Translation Memory feature.
    For example, if you have a string in your default language that is translated and you go in and modify that string, the translations for it won’t appear anymore at the front-end level but will continue to exist in wp_trp_* tables from your database.
    After, if you go to the translation interface and select that string, the Translation Memory feature will show you translation suggestions for that string (based on other strings that you have translated, even ones that don’t appear anymore in the front-end; so most likely, you will see the older translation as the first suggestion).
    However, this translation memory feature is not 100% accurate and also could not return any suggestion sometimes.

    Furthermore, we offer support now for editing in a way that if the changes on the original string do not exceed more than 5%, the translations remain assigned to that string. This feature requires enabling the Automatic Memory Feature in advance: https://translatepress.com/docs/automatic-translation-memory/.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing translations & default text in original language replaced’ is closed to new replies.