How to translate views footer content? I am building a multilingual site using Drupal 7. I have used Views to generate a page, and in that page I have added a link in the view footer. The custom code that I use in my views footer is as below.

&lt;?php &lt;a href ="/blog-archieve"&gt;To blog archive&lt;/a&gt; 


My problem is that I am using i18n module to translate the contents. In the translate interface I get the full above code, and as a result I lose my footer in views. Is there any way by which I can translate the "To blog archive" instead of the full code?
Try changing your footer to the following:

&lt;?php
$link = l(t('To blog archive'), 'blog-archive');

print $link;
?&gt;


References:

l();

t();