All,
I'm trying to research a random error with the forums module and I traced it to some localization problems. I stumbled across this code in the localization.vb code. Note that the SharedResourceFile constant is assigned a value of the ApplicationResourceDirectory + "/SharedResources.resx". 3 lines down the ApplicationResourceDirectory is then assigned a value of "~/App_GlobalResources". I'm no expert on how the clr handles constants and how it decides to assign the values to the variables in the code, but it looks like the SharedResourceFile should be assigned it's value AFTER the ApplicationResourceDirectory constant is defined.
Friend Const keyConst As String = "resourcekey"
Public Const SystemLocale As String = "en-US"
Public Const SharedResourceFile As String = ApplicationResourceDirectory + "/SharedResources.resx"
Public Const LocalResourceDirectory As String = "App_LocalResources"
Public Const LocalSharedResourceFile As String = "SharedResources.resx"
Public Const ApplicationResourceDirectory As String = "~/App_GlobalResources"
Public Const GlobalResourceFile As String = ApplicationResourceDirectory + "/GlobalResources.resx"
Public Const SupportedLocalesFile As String = ApplicationResourceDirectory + "/Locales.xml"
Public Const TimezonesFile As String = ApplicationResourceDirectory + "/TimeZones.xml"
Public Const SystemTimeZoneOffset As Integer = -480