Solved

Translating to CurrentCulture

Posted on 2006-11-06
5
176 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now