Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When it turns to localization, all the strings of text present in the code should be available on the translation menu interface.
That's why strings of text present in the code should be writed with t('My text to translate').
I've noticed that on comment.tpl.php there is a little piece of text not translatable: Posted by xxxx on xxxx
I've tried to change the code but, it is still missing from the translation interface.
line 24
<div class="info"><?php print $picture ?> <?php print t('Posted by '). $author . t(' on '). $date; ?> </div>
Any help much appreciated.
Comments
Comment #1
JacineThanks pedrosp! A fix has been committed to HEAD. http://drupal.org/cvs?commit=312502
This was the actual fix, in case you are interested:
print t('Posted by !author on !date', array('!author' => $author, '!date' => $date));