Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter trilalex

    (@trilalex)

    Hello,

    Sorry for the late reply. Thank you for looking into it. I’ll keep an eye on the emails/thread for any changes.

    Regards,
    Alex.

    Thread Starter trilalex

    (@trilalex)

    Hello, Cristian.

    No worries. We have put in place a JS solution to remediate this issue, albeit it would be better if we can use something less volatile.

    I have added the mini-plugin that you suggested. I also tested it with a completely new search term. However, the text stayed English, despite being on the French side and the plugin .mo/.po files clearly having the translations (checked using PoEdit too).

    Regards,
    Alex.

    Thread Starter trilalex

    (@trilalex)

    Hello, Cristian.

    Thanks for getting back to me. Regarding the first issue, I did the following:

    • Added the shortcode to a global header
    • Searched for a completely random term
    • Switch languages and observe the translations

    I also verified in the DB that multiple translations were being created for various search entries done on the site, even though their translations weren’t set.

    I figured that how TranslatePress operates is by taking the exact string and doing a replacement for the current viewing language. My concern is that it doesn’t take into account any dynamically created strings, especially if those strings already exist in the .mo/.po files for the language.

    EDIT: I should mention that my primary language is EN-CA with the other language being FR-CA.

    Can TranslatePress make use of existing .mo/.po files to do translations instead of having to create the translation myself?

    Regards,
    Alex.

    • This reply was modified 5 years ago by trilalex.
Viewing 3 replies - 1 through 3 (of 3 total)