Sustainable energy transition in Pécs
The city of Pécs, located in the South-Western part of Hungary, has been firmly committed to a climate policy, driven by a clear sense of purpose. In Pécs, which has almost 140 000 inhabitants and is the fifth largest city in the country, the two largest emitting sectors are buildings and transport, including private transport.
$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'];
?>
}
}
}
?>