How can I make a condition for currently viewed language on a template file?
In your template file global variable $language is avaible,with below properties

'language' => 'en',
'name' => 'English',
'native' => 'English',
'direction' => 0,
'enabled' => 1,
'plurals' => 0,
'formula' => '',
'domain' => '',
'prefix' => '',
'weight' => 0,
'javascript' => ''

You can achieve your jobs with something like this 
// if global variable $language  not avaible uncomment first line     

 //    global $language;
if ($language-&gt;language == 'en') {
   // do your desires
  }