473,770 Members | 1,994 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

internationaliz ation of MessageBox?

Hi,

What's the commonly used way to do internationaliz ation of the text in
MessageBoxes?

Thanks a lot in advance,

Pieter
Jan 25 '07 #1
3 1855
As far as I know there are two ways:

1) Create your own message box form and use the standard
internationaliz ation techniques there.

2) Pull the text form a resource file and send it to the message box.

"Pieter" <pi************ ****@hotmail.co mwrote in message
news:u5******** *****@TK2MSFTNG P06.phx.gbl...
Hi,

What's the commonly used way to do internationaliz ation of the text in
MessageBoxes?

Thanks a lot in advance,

Pieter

Jan 25 '07 #2
"Pieter" <pi************ ****@hotmail.co mschrieb:
What's the commonly used way to do internationaliz ation of the text in
MessageBoxes?
Create a separate resource file for each language. To do so, copy
"Resources.resx " and rename the copies to include the language identifier in
their names ("Resources.de. resx", ...). Then change the resource strings
there. Inside the source code you can simply access the resources using
'My.Resources.< resource identifier>. Note that the message box' buttons
cannot be localized. Windows chooses the captions based on the system
settings.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Jan 25 '07 #3
have a look at
http://www.emoreau.com/Entries/Artic...essageBox.aspx

--
HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
S2i web inc. (www.s2i.com)
http://www.emoreau.com/

"Pieter" <pi************ ****@hotmail.co mwrote in message
news:u5******** *****@TK2MSFTNG P06.phx.gbl...
Hi,

What's the commonly used way to do internationaliz ation of the text in
MessageBoxes?

Thanks a lot in advance,

Pieter

Jan 26 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2029
by: Brian Kelley | last post by:
I have been using gettext and various utilities to provide internationalization for a wxPython application and have not really been liking the process. Essentially it uses a macro-style notation to indicate which strings should be internationalized. Essentially, everything looks like this _("STRING") A good description of this system is located here http://wiki.wxpython.org/index.cgi/Internationalization
19
2182
by: Johannes Nix | last post by:
Hello, yesterday I met a cute person (after my dance class) who told me about an interesting experiment regarding cognition. People were told to read a typed text; However, in every word in the text, only the first and the last letter were in the right place. The other letters had their positions changed in an arbitrary manner. The surprising result, I was told, was that people can read this mixed-up text fairly well. Because I am a...
12
4113
by: Chris Mullins | last post by:
I'm implementing RFC 3491 in .NET, and running into a strange issue. Step 1 of RFC 3491 is performing a set of mappings dicated by tables B.1 and B.2. I'm having trouble with the following mappings though, and it seems like a shortcoming of the .NET framework: When I see Unicode value 0x10400, I'm supposed to map it to value 0x10428. This list goes on (the left colulmn is the existing value, the right column
9
2507
by: Developer | last post by:
Hello, I have an xml retrieved by a client running Japanese windows from a server running Japanese windows. I can view this document in IE.6. (The Opera browser, though, reports the error.) However, when I try to parse the xml with a sax reader I'm implementing, I get the message "A name contained an invalid character" in the fatalError() method of my ISAXErrorHandler.
6
2797
by: Zlatko Matiæ | last post by:
What is the easiest way to accomplish internationalization in Access application?
2
1708
by: Internationalization | last post by:
COMSYS Globalization Practice is looking for a C#/.NET Internationalization consultant in OR. Can you please contact me if you are interested or else know someone who would be interested. It will be 4-6 weeks assignment. Thank you, Rhea Tanaka COMSYS Globalization Practice rtanaka@comsys.com
0
1118
by: Pablo Jose Almeida da Guia | last post by:
Well.. ...I am using some resource files to make the internationalization of a ASP.NET application. I created a project and three resource files. ------- resource files ------- /strings.txt /en-US/strings.en-US.txt /pt-BR/strings.pt-BR.txt ------- resource files -------
3
1993
by: Jules | last post by:
i'm working with translators that just want to translate "web pages" and not deal with resource files. i'd like to have a file structure that looks sort of like this: / <- root directory where all .cs files live /en-US/ <- english specific directory which contains aspx and ascx files only /jp-JP/ <- japaneses specific directory which contains aspx and ascx files only
2
431
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - Internationalization and Multinationalization in javascript. ----------------------------------------------------------------------- Internationalization means using one form which is both acceptable and understood everywhere. By default, javascript has no such features; but if an international standard exists it can be coded for. For example, there...
0
9618
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.