'ua', ]; $lang = preg_replace("/[^a-z]+/", "", $lang); if (in_array($lang, array_keys($langMap))) { $lang = $langMap[$lang]; } $langFile = dirname(__DIR__, 2) . "/3rd/dhtmlxgantt/locale/locale_$lang.js"; $langUrl = $baseUrl . "lib/plugins/{$pluginName}/3rd/dhtmlxgantt/locale/locale_$lang.js?v=6.3.5"; if (!file_exists($langFile)) { return; } echo ""; }; ?>