Florence - Lighting the path to climate neutrality
Florence is illuminated by over 40,500 lampposts and 3,500 traffic lights, all of which required upgrades to meet the energy-saving targets outlined in the Sustainable Energy Action Plan (2020) and the Smart City Plan (2030-2050). The challenge was to design a solution that respected the requirements of UNESCO recognition while improving efficiency.
$translatableResources = [3, 4, 5, 6];
if (in_array($ResourceType, $translatableResources)) {
$langUser = strtoupper($browserLang);
if (!isset($arrPostLang[$langUser]['Target'])) {
$langUser = 'EN';
}
// on regarde si la langue source est differente de la langue de l'utilisateur ou si on a pas detecte la langue
if (!isset($media['srcLang']) || $media['srcLang'] != $langUser) {
//si la langue de l'utilisateur (browserLang) est disponible dans le tableau
if (isset($arrPostLang[$langUser]['Target'])) {
$translate = $arrPostLang[$langUser]['Target'];
?>
}
}
}
?>