Reducing the climate impact of mobility in Porto
Porto is tackling transport emissions with new vehicles and behaviours. Transport accounts for 39% of total emissions in Porto and the city is focusing significant efforts on the sector - its municipal fleet and public transport in particular.
$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'];
?>
}
}
}
?>