I followed this example to create some custom cultures (en-NZ-HMC,
fr-FR-HMC) which are subsets of parent cultures en-NZ, fr-FR, from
which they are inherited in order to mirror the date/time and currency
formats. A configuration setting is used to determine which culture is
used to display the text on my web pages. The text strings are stored
in .resources files which have been generated using resgen from text
files.
I have used the assembly linker to create satellite assemblies. both
the binary resource file and the satellite assembly for each culture
are contained within an appropriately named sub-directory of the bin
directory.
I appear able to create a custom culture OK; however, the text is not
being read from the custom assembly, but is being read out of the
parent directory. Examining the 'Thread.CurrentThread.CurrentCulture'
in a watch window shows that the culture is being determined correctly.
Any ideas why the custom culture assembly is being ignored?
Ros L - 12 Jan 2005 02:04 GMT
Sorry - forgot to say that the example was GotDotNet User Sample:
Creating a custom culture with the .NET Framework