I want to translate all the keys from the array that occur in this string:
$bar = "It gonna be tornado tomorrow and snow today.";
and replacing it with the value using this array:
$arr = array(
"tornado" => "kasırga",
"snow" => "kar"
);
So the output will be:
$bar = "It gonna be kasırga tomorrow and kar today.";