Solved

Translating to CurrentCulture

Posted on 2006-11-06
5
179 Views
Last Modified: 2010-04-23
I note that the function WeekdayName returns the name of the day in the current culture.
ie French returns  - lundi

What other built-in translations are available?

It seems that the MsgBox constants are always in English, but is there any other way of translating Yes etc?
0
Comment
Question by:broadbent
  • 2
  • 2
5 Comments
 
LVL 34

Expert Comment

by:Sancler
ID: 17880406
Have a look at this

http://msdn2.microsoft.com/en-us/library/system.globalization.cultureinfo(VS.80).aspx

for a list of cultures available

Roger
0
 
LVL 5

Expert Comment

by:DEEPESH
ID: 17880524
No it wont help you with MessageBox, it works in case of Dates , Currency and Money. For displaying messages in another languages you need Localisation for more details please follow the link
http://www.codeproject.com/dotnet/Localization.asp
0
 
LVL 4

Author Comment

by:broadbent
ID: 17883177
but how do I translate monday to lundi
0
 
LVL 5

Accepted Solution

by:
DEEPESH earned 250 total points
ID: 17987553
Not possible without localistaion, u have to have to resx file in your project, then you have to give string as Monday and its value as lundi. Then in your code you have to pick it through resource manager.
Please gio thru the link
0
 
LVL 4

Author Comment

by:broadbent
ID: 17987633
I've done that. Just hoped MS had some embedded strings I could use.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question