How to use  tag in views? I have a site on Drupal 7, where I'm using Views with Multilingual settings.
I have 2 languages, Russian and English.

On the front page, I have created a "Latest News" block with Views.
Each news item has a link to the full article like the following ones:


example.com/en/news/1
example.com/ru/news/1


This block is also shown on some other pages, such "Services - > Service 1"  shown at example.com/en/services/service-1.

The problem is that on my block I use global text to format the output of the latest news; the link is built using the following:

&lt;h2&gt;&lt;a href="./news/[nid]"&gt;[title]&lt;/a&gt;&lt;/h2&gt;


It works fine on the front page, but when I'm on the Services page, the news link is similar to example.com/en/services/news/1,which is incorrect; Drupal gives me an error about a not existing page.

Is there a way to reference the front page with any tag I can use in the "Global Text" settings?
You can use php filter, or install Token Filter module and then enable tokens in filter which you use (admin/config/content/formats). Token for front page is [site:url] so you should write your link like follow: 

&lt;h2&gt;&lt;a href="[site:url]news/[nid]"&gt;[title]&lt;/a&gt;&lt;/h2&gt;