in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Unable to separate language and currency

Last post 05-24-2008 9:17 AM by admin. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-23-2008 5:18 AM

    • Mbra
    • Top 150 Contributor
    • Joined on 03-20-2008
    • Gothenburg, Sweden
    • Posts 8

    Unable to separate language and currency

    Admin --> Site settings --> Globalization.

    The globalization options allows an administator to set the language and currency for the site but the currency is never really used on site? Seems to me that currency is always fetched from the set language and not from the selected currency. For me this is a bit of a problem as Im setting up a webshop in Sweden, using english as the main language and would like euro as the shop currency. For now I have to set the globalization language setting to a european country using euro, like germany, to get euro as currency.

    Is there any workaround for this? 

     

  • 05-24-2008 6:22 AM In reply to

    Re: Unable to separate language and currency

    I'm also facing the same problem... does anybody have a solution for this... please help I need to use Indian Rupee as currency keeping english as my language and not hindi.. vista have a culture en-in but my windows 2003 server only have hi-en culture so i get the currency in hindi
  • 05-24-2008 9:17 AM In reply to

    Re: Unable to separate language and currency

    In SiteSettings.cs - in the Core project, you will find CurrencySymbol and CurrencyDecimals that pull info using the _cultureInfo for the language selected. You'll have to change them to use the CurrencyCode and somehow map the CurrencyCode to a CultureInfo so you can get the CurrencySymbol and CurrencyDecimals.

    Can someone please log this as a bug in CodePlex? Also, if you figure it out, please offer a patch!

    HTH

    --
    Support dashCommerce - Buy Our Stuff!!


    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us! Documentation? Help us write some!
    Filed under:
Page 1 of 1 (3 items)