Active
Project:
Vigilianty
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2009 at 07:47 UTC
Updated:
15 Aug 2009 at 07:47 UTC
echo t('Powered by ').'<a href="http://drupal.org/">'.t('Drupal').'</a>'.t(' and ').'<a href="http://www.thebeeblogger.com/">Drupal Theme</a>'.t(' created by ').'vigilianty';
It's not possible to translate each word in this sentence and then get a grammatically correct translation in _most_ languages. Use one string with placeholders instead:
echo t('Powered by <a href="!url">Drupal</a> and <a href="!thebeeblogger_url">Drupal Theme</a> created by !name', array('!url' => 'http://drupal.org/', '!thebeeblogger_url' => 'http://www.thebeeblogger.com/', '!name' => 'Vigilianty'));