It doesnt works here
I don't understand how to fit it into different languages...

PHP Code:
if($_GET['cPath']) {
  switch(
$_GET['cPath']) {
   case 
$template_dir "layout2"// thelayout i want to open inside portuguese site
      
break;
   
  default: 
// If none of the above 
  
$template_dir "layoutsah"// the layout i want to open inside english site
      
break;
    }
  } 

??? but it don't make any sense to me