Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 13th, 2007, 12:58 PM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default culture info !!

hi expert
i hade change my culture to my favorite language,but still the button text on the MessageBox appear in english?
where is the problem?
my code is:
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("af");

thank for yopur help my friends
 
Old March 13th, 2007, 02:50 PM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

You might try CurrentUICulture.

--

Joe (Microsoft MVP - XML)
 
Old March 14th, 2007, 12:18 AM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

dear joe fawcett
i try CurrentUICulture,but still the button on my MessageBox are English

i write this code
Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("fa-IR");

where is the problem

by the way
dear joe fawcett i send email to you to your hotmail
but still i dont recive your answer
pleas read my email and answer

thank so lot dear joe fawcett
regars





Similar Threads
Thread Thread Starter Forum Replies Last Post
auto culture for code in App_Code mega ASP.NET 2.0 Professional 5 April 5th, 2007 05:06 AM
Need Info mr_shoaib SQL Server 2000 1 October 17th, 2005 07:02 AM
Identify culture(of the client) from web request a madkaikar_ashish General .NET 2 February 2nd, 2005 01:04 PM
need info vinny Oracle 0 December 28th, 2003 12:04 AM
Where would I get info on how to download info aidanc ASP.NET 1.x and 2.0 Application Design 1 September 29th, 2003 02:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.