I'm a web designer working with SharePoint 2013. I created a custom template for a company and now I want to go further with variations capabilities. The website should be available in German and in English.

On the footer of the master page, I placed some hard-coded links like this:

```
<a href="/Authenticate.aspx">Login</a>
<a href="/imprint">Imprint</a>
<a href="/disclaimer">Disclaimer</a>

```

And I want them to rebuild dynamically to my variations site like this for the German language:

```
<a href="/de/...">Login</a>
<a href="/de/...">Imprint</a>
<a href="/de/...">Disclaimer</a>

```

or this for English:

```
<a href="/en/...">Login</a>
<a href="/en/...">Imprint</a>
<a href="/en/...">Disclaimer</a>

```

Is there a variable that I could place in front of the links in my master page? Or a method to get the current language?

I was thinking of something like this:

```
<a href="{Locale}/login">...</a>
<a href="$language/imprint...">...</a>
<a href="getLanguage()/disclaimer">...</a>

```

I'm not an ASP.NET coder, so I don't really know how find out the language. I would appreciate if someone could help me.