On Tue, Feb 2, 2010 at 10:05 AM, Ed Leafe <[email protected]> wrote: > On Feb 2, 2010, at 11:03 AM, Stephen Russell wrote: > >> //Set which language resource file is needed >> Thread.CurrentThread.CurrentCulture = >> CultureInfo.CreateSpecificCulture(Request.UserLanguages[0]); >> Thread.CurrentThread.CurrentUICulture = new >> CultureInfo(Request.UserLanguages[0]); >> LocRM = new >> ResourceManager("NameSpace.Web.App_LocalResources.YourTranslationDocumentHere", >> typeof(YourGUI_Here).Assembly); > > Oh, that's so much nicer to code than: self.Application.Language = > <language> > > <rof,lmao!> -----------------------------
Just a guess but you slung some code to identify the container object and query the translations, I just never saw the need to reduce it down to one from these three. I pull the language and locale settings of the local machine for use, and it affects all of my display so Date, Time, Currency Display and Language are defined. -- Stephen Russell Sr. Production Systems Programmer CIMSgts 901.246-0159 cell _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

