Hi there

I have just discovered this is an independent module after posting a bug report in the open outreach forum.

In some German Drupal community forum where I had requested for help this is what I was told:

It is said in the module "debut_highlighted.views_default.inc", on lines 128 & 214: The Text "Read more" is not translatable because it is not included in t().

I do request you to urgently look into this, please. It is not possible to translate the whole string, because of html strings that are not allowed.

"Read me", otherwise appears a total of 4 times, 3 of which are translated automatically but not this particular one.

<div class="views-slideshow-overlay"> <a href="[field_link]" class="views-slideshow-button">Read more</a> <h2><a href="[field_link]">[title]</a></h2> <h4>[field_kicker]</h4> </div>

Thank you in advance.

CommentFileSizeAuthor
#4 2669652-4.patch1.1 KBfelribeiro

Comments

lionheart8 created an issue. See original summary.

lionheart8’s picture

Issue summary: View changes
lionheart8’s picture

Issue summary: View changes
felribeiro’s picture

Status: Active » Needs review
StatusFileSize
new1.1 KB
stborchert’s picture

Status: Needs review » Closed (works as designed)

@felribeiro: you can't include the t() function within the alter-text in Views. The text is translatable using Internationalization Views and a custom .po file (since the default translation UI does not allow complex HTML).

nedjo’s picture

The text is now a link field title, so can be translated using content translation. See #1475546: Allow customization of "Read more" link.