Changing footer depending on URL (poli language site)

I worked out the answer.

<?php $url = $_SERVER["REQUEST_URI"];
        if (strpos($url, "/ru/"))  {
               ;
        }else {
               ;
              } ?> 

Figured out that I don’t actualy need to change the whole footer but just the content. =)
Can be closed now. Cheers

error code: 523