Culture info problem in admin threads - Importing of a snapshot taken from instance with British culture onto instance with cyrilic culture

Topics: Localization, Русский (Russian)
Feb 20, 2015 at 4:06 PM
Hello everyone,

I have this famous "Input String was not in the correct format" exception when trying to import a snapshot on a local dev machine that is with a Bulgarian locale. The snapshot is taken from a British instance which basically means that they have decimal values of the form 0.0000 while our locale understands decimal values of the form 0,0000 (notice the comma instead of a dot).

I am pretty new to the Orchard ecosystem and wanted to ask if there is some Orchard-ish more general way of solving that issue (instead of putting everywhere CultureInfo.InvariantCulture :) ) Some centralized component that integrates with the orchard localization system I guess?

I also tag this question with Русский as I know that Russian cultureInfo is as well with commas instead of dots.

Any comments on this I appreciate a lot!