This question is locked. New answers and comments are not allowed.
Hi Guys!
It’s possible to use localization with the MVC controllers just for the language?
I like to manage my money, date, time, etc formats by my own.
For example, I have this Grid Column:
c.Bound(o => o.revenue).Format("{0:c}"));
When I set culture to “es” (Spanish) everything works nicely, however, my money is format as 1.221.214,50€
In a normal string format I can change it like this:
string.Format(System.Globalization.CultureInfo.InvariantCulture, "B/. {0:#,##0.00}", 12222114141.24)
this is render like:
B/. 12,222,114,141.24
Is there a way to do this in the MVC controls?
Thanks!
Edgar.