Solved

Translating to CurrentCulture

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DataGridview Currency Formating? 22 53
Change data in datatable 8 31
VB.NET HttpWebRequest 12 58
Close form "before" open 3 30
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

22 Experts available now in Live!

Get 1:1 Help Now