473,396 Members | 2,070 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Localizing Message boxes, strings, etc

Hi there.
I am developing an application using Visual Basic .Net 2003.
So far I have localized my forms and their controls using the VS.net Ide
(Setting localized to True, choosing a language and translating the text on
all the controls).
But now I have a problem. How can I do this with Message Boxes and text that
is created dinamically?
I searched MSDN and also used google but found nothing...

Thank you in advance!

André Nogueira
Nov 20 '05 #1
3 1176
* "Andre Nogueira" <an**@netcabo.pt.NOSPAM> scripsit:
But now I have a problem. How can I do this with Message Boxes and text that
is created dinamically?


There is no direct way to localize them -- the captions will be taken
from Windows and will contain text in the system's language.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
But I mean Message Boxes generated by my program using Msgbox and strings,
such as
Dim S as String
S = "This is my string"
Msgbox "this is another string"

What is the best way to localize such resources? Any ideas?
Thanks!

Andre Nogueira
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2j*************@uni-berlin.de...
* "Andre Nogueira" <an**@netcabo.pt.NOSPAM> scripsit:
But now I have a problem. How can I do this with Message Boxes and text that is created dinamically?


There is no direct way to localize them -- the captions will be taken
from Windows and will contain text in the system's language.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #3
Hi Andre,

Told is to use the resx, however mostly when this message is placed in this
way there are a lot of reactions which tell that that is much to difficult
to use for this situations.

I agree that and I think that creating a language file for that by instance
a XML dataset is much more handy. (You can change the language outside your
program with that).

I hope this helps?

Cor
But I mean Message Boxes generated by my program using Msgbox and strings,
such as
Dim S as String
S = "This is my string"
Msgbox "this is another string"

What is the best way to localize such resources? Any ideas?
Thanks!

Andre Nogueira

Nov 20 '05 #4

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

Similar topics

2
by: Ray Cassick \(Home\) | last post by:
I am running the code for a code assembly through FXCop here and it seems to be throwing a fit each time I pass in some descriptive text into the constructor for various exceptions I am throwing. ...
0
by: Jazzkt | last post by:
Helpers, I have an application to which I added a form (Add New Item) with combo box, a text box and some check boxes. Inside the OK_Button handler method, I can read the text displayed in the...
3
by: Trapulo | last post by:
I've a datarepeater that loads custom external templates with loadtemplate and bind data to them. All ok. Now I need to localize some text labels, but I don't know how can I change this data. If I...
24
by: Nak | last post by:
Hi there, I have some inherited forms that I wish to make "localizable", unfortunately none of the items I wish to be "localizable" are actually being "localized". For example, I have a few of...
14
by: Christian Sell | last post by:
Hello, I am running into a problem with PGs case sensitivity with regard to column and table names. I am using program components that require the object names returned from database metadata...
3
by: WT | last post by:
Hello, Using english version of vs 2005 to develop, my setup dialogs are all displayed in english, is there some way to have it displayed according the current culture using resources as we do for...
0
by: Bob | last post by:
I am thinking of using the reportviewer in Vs2005 Vb.net project and am going thru the walktroughs but my reports need to be bilingual (English and French, labels only). The dat itself can be in...
0
by: =?Utf-8?B?U3VzaGlTZWFu?= | last post by:
I have question about pages localizability. So for example I have 3 pages on my site ================== main.aspx users.aspx products.aspx ================== I want make Localizing for them....
0
by: cmdolcet69 | last post by:
I have an issue with localizing forms, I added a button to my form and then set my form to localizable property = true. changed my language from default to Spanish and saved. I built the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.