Sonderborg Climate City Contract
This Climate City Contract and Action Plan were submitted in 2023 by Sonderborg and endorsed by the European Commission resulting in the city being awarded the Mission Label.
$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'];
?>
}
}
}
?>