For years WooCommerce was showing the Serbian currency as дин. but this was recently changed to рсд. and now Serbian currency is available in WooCommerce only in Cyrillic script (РСД). You’ll see more details here.
But because the Serbian language can be written both in Cyrillic as well as in Latin script, and almost 100%, of webshops in the Serbian language are made with Latin script, the currency should be displayed in RSD (Latin).


This small plugin will automatically translate WordPress from Serbian Cyrillic script to Latin
But to solve the WooCommerce problem, here is a small snippet that will help you display prices as RSD.
Change WC currency РСД to RSD
To simply translate РСД (Cyrillic) to RSD (Latin) use this code:
add_filter('woocommerce_currency_symbol', 'wdc_change_currency_symbol', 10, 2);
function wdc_change_currency_symbol( $currency_symbol, $currency ) {
if($currency == "RSD"){ // don't change this
$currency_symbol = 'RSD'; // change name here
}
return $currency_symbol;
}
After adding the code to your active theme functions.php file or a child theme, all prices on the website should be coverted to RSD. And under WooCommerce > Settings > General the currency Srpski Dinar should now have RSD as a symbol.
