I have a php language file with the following variables
$string['monday'] = 'Monday';
$string['tuesday'] = 'Tuesday';
ect...
In another file I have an array which return the day of the week in plain text. I want to replace the plain text eg. 'Monday' for the variable $string['monday']
// Array list of days.
var days = new Array('Domingo','Lunes','Martes','Miercoles','Jueves','Viernes','Sabado');
Any Idea