473,473 Members | 1,709 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

internationalization of MessageBox?

Hi,

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

Thanks a lot in advance,

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

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

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

"Pieter" <pi****************@hotmail.comwrote in message
news:u5*************@TK2MSFTNGP06.phx.gbl...
Hi,

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

Thanks a lot in advance,

Pieter

Jan 25 '07 #2
"Pieter" <pi****************@hotmail.comschrieb:
What's the commonly used way to do internationalization 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.comwrote in message
news:u5*************@TK2MSFTNGP06.phx.gbl...
Hi,

What's the commonly used way to do internationalization 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
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...
19
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...
12
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...
9
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.) ...
6
by: Zlatko Matić | last post by:
What is the easiest way to accomplish internationalization in Access application?
2
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...
0
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...
3
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...
2
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - Internationalization and Multinationalization in javascript....
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.