I have this part of the function, which gives me name of the months in English. How can I translate them to my local language (Serbian)?
$month_name = date(\
It is good idea to pass the encoding when setting the locale: