• Resolved brada8m

    (@brada8m)


    Dear Community members,

    For a long time, there was an error in WooCommerce regarding Currency Symbol for Republic of Serbia. It was Dinar (Дин). In latest versions, it is changed, and now it is Dinar (Рсд).

    But, one problem is still there: Serbian language can be written both in Cyrillic as well as in Latin script. In almost 100%, webshops in Serbian language are made with Latin script.

    Serbian currency is available in WooCommerce only in Cyrillic script (РСД).

    It would be great if WooCommerce would offer Serbian Dinar in two variants: RSD (Latin), and РСД (Cyrillic).

    Thank you and best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @brada8m, you can add the following snippet to your theme’s functions.php

    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;
    }

    Also please check this out:
    https://sr.www.ads-software.com/latinisation/

    Mirko P.

    (@rainfallnixfig)

    Hi @brada8m!

    Looking at Github I’ve found a pull request to change the Serbian currency symbol from дин to рсд and the request was approved. You’ll see more details here.

    It would be great if WooCommerce would offer Serbian Dinar in two variants: RSD (Latin), and РСД (Cyrillic).

    What I suggest for you is submitting a new feature request from https://github.com/woocommerce/woocommerce/issues/new/choose that will go straight to the attention of WooCommerce core developers.


    Link to image: https://i.imgur.com/GhzVej2.png

    Updated: Thanks @stefanue for providing the snippet which may turn out to be a good solution for the moment and can also help other users.

    • This reply was modified 3 years, 6 months ago by Mirko P..
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Serbian Curreny – Dinar, Latin and Cyrillic’ is closed to new replies.