Commented and expanded translate.php