• Hi,
    my website is multilingual and currency symbol not translated in the Arabic version
    it is EGP instead of ????

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    I’ve just had a look at your site but couldn’t replicate the same thing. On my side, the currency is indeed localised correctly:


    Link to image: https://d.pr/i/B9latm

    If you’re seeing something different, can you share a screenshot of that? Also, please share a copy of your status report as found under **WooCommerce > Status**.

    Thanks!

    Thread Starter Ahmed Abu Shamia

    (@colyz93)

    hi, i use css code to change it i will remove the code now

    Thread Starter Ahmed Abu Shamia

    (@colyz93)

    The translation for EGP should be ?.? or ????

    Thread Starter Ahmed Abu Shamia

    (@colyz93)

    Hi,
    i found this code but i’m trying to make it work on one language of polylang

    /**
    * Change a currency symbol
    */
    add_filter(‘woocommerce_currency_symbol’, ‘change_existing_currency_symbol’, 10, 2);

    function change_existing_currency_symbol( $currency_symbol, $currency ) {
    switch( $currency ) {
    case ‘EGP’: $currency_symbol = ‘?.?’; break;
    }
    return $currency_symbol;
    }

    Thread Starter Ahmed Abu Shamia

    (@colyz93)

    This is the way

    /**
    * Change a currency symbol
    */
    if(pll_current_language() == ‘ar’) {
    add_filter(‘woocommerce_currency_symbol’, ‘change_existing_currency_symbol’, 10, 2);
    function change_existing_currency_symbol( $currency_symbol, $currency ) {
    switch( $currency ) {
    case ‘EGP’: $currency_symbol = ‘?.?’; break;
    }
    return $currency_symbol;
    }
    }

    Thread Starter Ahmed Abu Shamia

    (@colyz93)

    done

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Currency symbol not translated in Arabic version’ is closed to new replies.