• Resolved Jules Colle

    (@jules-colle)


    Hi, we are currently migrating all our websites from Weglot to TranslatePress. I really love how simple and developer friendly this plugin is.

    We add the class translation-block to all our paragraphs, in order to preserver context for automatic translations. This works fine most of the time, except when there is a link inside the block. In that case the string isn’t recognised and there seems to be no way to manually translate it.

    <p class="translation-block">
      Retrouvez nos conditions d’annulation <a >en cliquant ici</a>
    </p>

    Is this a known problem? How can we work around this?

    • This topic was modified 1 year, 5 months ago by Jules Colle.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jules Colle

    (@jules-colle)

    OK, it seems like there is only a problem when the hyperlink contains %20 signs. If I replace these by spaces, it becomes translatable.

    I do believe this is a bug. Could you check if you can reproduce this, and let me know if you plan to fix this?

    Hello Jules,

    Thank you for reaching us and for telling us this!

    We will need to reproduce this as well in a staging enviroment and if we are able, we will fix it as soon as possible.
    Thank you for reporting this, keep you up-to-date!

    Cheers,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘translation-block with hyperlink can’t be translated’ is closed to new replies.