Solved

Display error messages in a different language that the operating system.

Posted on 2012-03-20
2
330 Views
Last Modified: 2012-03-21
Hi,
I have already installed the .net framework 4.0 spanish language pack in a windows server whose language is english.

I also created a windows service that runs on that server that sends to an email some application error messages acording to the errors or exceptions caught, but the messages are displayed in english and I want them to be displayed on spanish.

What I have to do in order to get the messages in spanish?

Regards and thanks in advice.
0
Comment
Question by:francisco_j_rosas
2 Comments
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 500 total points
ID: 37745716
create new culture info object for spanish culture, have a look at this msdn article for the same:-
http://msdn.microsoft.com/en-us/library/system.resources.resourcemanager.aspx
http://tutorial.visualstudioteamsystem.com/details.aspx?item=145

to make sure that spanish reflect in all your messages, you need to change the default culture of your main thread... see the second link for that...
0
 

Author Closing Comment

by:francisco_j_rosas
ID: 37749309
Thank you, it really helped me.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

810 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