Solved

Translating to CurrentCulture

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

786 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