Solved

Translating to CurrentCulture

Posted on 2006-11-06
5
181 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

724 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