sorry been meaning to post this for the last 2 weeks. Weve been in and completed all the updates for 4.0 proving all will be good moving forward with dynamic regional preferences.
How to
1. ensure your on 4.0 2. ensure your language culture is correct in config->languages & config->stores->default lang 3. As the NOP guys have been saying its all about the "culture" beign selected. So just be aware, weve not tested this with the russian (and i think European) , & . issues
Drop in the attached ZIP overriding your files OR checkout the patch.diff showing all thats changed.
PS We removed bootstrap-touchspin because it has culture issues and used jQuery UI spinner instead https://jqueryui.com/spinner/#decimal
As ever a quick Caveat : Our system we made these changes on is not a raw 4.0, so DO NOT do this directly onto any live server. That being said i think it should just be a drag and drop.
Can we get an admin setting to specify the culture? We have US date format on our invoices which confused a customer recently. I'd rather avoid changing the nop source code as I know next time I update I will lose the changes or forget to update them.
Go to your language detail page (admin area) and set its language culture property to any culture that supports "dd/mm/yyyy" (e.g. ru-RU)
I have two stores...one for United States and one for Canada. They are both English speaking countries but have different cultures...do I need to duplicate the all the languages to achieve different cultures? What is the best way to handle this
looks like NOP are already working for a fix for culture changes (hopefully to be released in 4.2). What version of NOP are you using and what is your issue?
if 4.0/4.1 and you want to change date formats in admin from mm-dd-yyyy, the above fix we posted will change ths in admin and you could pick yyyy-mm-dd so that all date popups allows you to enter/select/view dates in the same format. does that make sense?
Hello, The problem, 3.80 in the global.asax the use SSL made. webHelper.GetThisPageUrl(false)= "http " webHelper.GetStoreLocation()="https" if (webHelper.GetThisPageUrl(false).StartsWith(string.Format("{0}admin", webHelper.GetStoreLocation()), public static Regex rxAdminPage = new Regex(@"://[^/]+/admin(?:$|/.*)", RegexOptions.Compiled);
if (rxAdminPage.Match(webHelper.GetThisPageUrl(false)).Success)
hi I use nop 4.30 I think the best solution for this topic, is set default culture format How I can set default culture format?? I tried for set that in Startup.cs but its not work can u help me? ty