Hi!

I wolud like to transle 'read more' button. I translate it here admin/config/regional/translate/translate, but It is still untraslate on e.g. teaser mode (front page, search results). I don't use views or page manager on front page nor search results.

I am using book module also and links which apper there are translate e.g. 'print version'. I used i18n module but can't find place where I could translate bottom code.
I am using omega theme, in node.tpl.php is
<?php print render($content['links']); ?>

Should I use t(); on above code somehow? or should it be translate by location module?

any ideas?

Comments

neRok’s picture

Version: 7.12 » 7.x-dev
Component: translation.module » node.module
Status: Active » Needs work

I'm looking at Drupal 7.22 and line 1440 of node.module is as follows
'title' => t('Read more<span class="element-invisible"> about @title</span>', array('@title' => $node_title_stripped)),
The fact that the span is right next to the more might be throwing off the search-replace translator? It may only be looking for 'read more' or 'read more.', etc (incase there was a string 'read moreen's blog' - if moreen were a persons name, you wouldnt want to replace that string).

Perhaps tweaking the above line could correct things. Something like
'title' => t('Read more') . t('<span class="element-invisible"> about @title</span>', array('@title' => $node_title_stripped)),