Hello,
With the user interface in admin/config/regional/translate, I can not translate a number of activity messages like the one below :

<p><a href="[message:author:url:absolute]">[message:author:display-name]</a> commented on a post on your <a href="[message:recipient-user-url]">profile</a></p> <div class="comments"> <div class="post"><em>[social_comment:comment_author]</em> <small>• [social_comment:comment_date]</small> <p>[social_comment:comment_text]</p> </div> </div> <table class="btn-wrapp"> <tbody> <tr> <td class="align-center"><a class="btn-link btn-link-bg btn-link-one" href="[social_comment:comment_reply_link_html]">Reply to this comment </a></td> </tr> </tbody> </table>

The following message is delivered, even using the untranslated string as a suggestion
The submitted string contains disallowed HTML:

Thanks for your answer

Comments

ohmdesbois created an issue. See original summary.

jaapjan’s picture

Title: Can not translate some strings » Can not translate strings related to activity messages in E-mails
ronaldtebrake’s picture

Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

We have succesfully added translations for these, can you clarify if this works for you?
Or what doesn't work?

sanoopuio’s picture

with Open Social (social-8.x-7.2) , error "The submitted string contains disallowed HTML: " still happens

eg :<p><a href="[message:author:url:absolute]">[message:author:display-name]</a> commented on your [social_comment:commented_entity_link_html]</p> <div class="comments"> <div class="post"><em>[social_comment:comment_author]</em> <small>• [social_comment:comment_date]</small> <p>[social_comment:comment_text]</p> </div> </div> <table class="btn-wrapp"> <tbody> <tr> <td class="align-center"><a class="btn-link btn-link-bg btn-link-one" href="[social_comment:comment_reply_link_html]">Reply to this comment </a></td> </tr> </tbody> </table>