<?php $avail_langs = array("en", "fr"); if(!in_array($current_lang, $avail_langs)){ $current_lang = $avail_langs[0]; } include("lang/" . $current_lang . ".php"); ?>