handling change frm cs to cz
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-02-18 16:35:43 +01:00
parent d5f5872e0c
commit e3633a8fa6

View File

@ -73,6 +73,9 @@ function get_latest_game_datas($request)
if ($currentLanguage === "pt") {
$currentLanguage = "pt-pt";
}
if ($currentLanguage === "cz") {
$currentLanguage = "cs";
}
// SWITCH TO CURRENT REQUEST LANGUAGE
do_action('wpml_switch_language', $currentLanguage);