asp.net - 2 culture settings for same web application? -
is possible use fr-ca culture setting dates (franch dates) , en-ca numbers (period decimal separator) in asp.net web.config?
thank you
you cannot mix cultures, can create own culture, see here:
http://msdn.microsoft.com/en-us/library/ms172469(v=vs.80).aspx
to define , create custom culture
- use cultureandregioninfobuilder object define , name custom culture. custom culture can entirely new culture, or can culture replaces existing .net framework culture or windows locale. new cultures, can populate cultureandregioninfobuilder object properties existing cultureinfo object , loaddatafromcultureinfo method, , existing regioninfo object , loaddatafromregioninfo method. replacement cultures, cultureandregioninfobuilder object properties automatically populated properties of culture being replaced.
- modify properties of cultureandregioninfobuilder object satisfy requirements of application.
- call register method register custom culture. registration process performs these tasks:
Comments
Post a Comment