_Nightblade_

I want to finnish my program with a option in language.

Butt i only now a way like rebuilding everything again,

in the differant language.

is there not a differant way to solve this

Nightblade




Re: Visual Basic Express Edition Second Option wanted

ReneeC

" want to finnish my program with a option in language."

It's not clear exactly what you are saying here. I can think of two possibilities.

Either you are taking about localculture settings or you are talking about the language in which things are displayed which can be determined by reading localculture properties in the Globalization Namespace.

What is done for multilanguage support is to use external resource strings for all labels and responses and to fill labels and messages with the resource strings in a chosen language. Doing this enables you to use resource files instead of rebuilding your program if that is what you are talking about.






Re: Visual Basic Express Edition Second Option wanted

_Nightblade_

What i want to make is a selection between

Checkbox 1 " Nederlands "

Checkbox 2 " English "

Checkbox 3 " Spanish "

After this chose has bin made, all the text that is displayed.

should be in the chosen language.

like Vista Language Packs or XP LIP Packs

they change everything to the prefert language.

i can change only the selectionscreen the rest is only in Nederlands.

Nightblade.






Re: Visual Basic Express Edition Second Option wanted

_Nightblade_

ReneeC

i have bin on a trip for work sorry it toke so lang.

the problem i want to fix is simply all text on buttons, labels and checkboxes

in three different languages wich one is selected as a option.

from that moment on i like to see everything in that language.

like changing the language off your OS in land and display settings.

After Some talking with a friend we think that inherit from a class

should work Example " English " & " Spanish "

butt we dont know how to retrive information

from a class that has all text for buttons, checkboxes and labels

I have al text on three different notepads so i could paste

butt how is it connected to form 1, 2, 3, 4 enz.

Thanks in advance.

Nightblade.






Re: Visual Basic Express Edition Second Option wanted

ReneeC

use external resource strings for all labels and responses and to fill labels and messages with the resource strings in a chosen language.




Re: Visual Basic Express Edition Second Option wanted

_Nightblade_

Thanks for the answer

I do not understand your answer what is "external strings" .

no offence butt can you try to explain it in a simpler kind of way.

i thought making something like a class with

Me.Form1.Controls.Add(Me.Label1.Text = " in English " )

and a different one

Me.Form1.Controls.Add(Me.Label1.Text = " in Spanish " )

Is that also passeble

Thanks in advance

Nightblade.






Re: Visual Basic Express Edition Second Option wanted

Andreas Johansson

Windows forms have built in support for localization of application. Here is an article that describes a bit on how to do it.

http://msdn2.microsoft.com/en-us/library/y99d1cd3(VS.71).aspx






Re: Visual Basic Express Edition Second Option wanted

_Nightblade_

Thank for your help Andreas Johansson.

i know that i will not forget this soon.

this is a painfull lesson sins i typed all

buttons, checkboxes, labels,enz enz in code editor.

so this is a real pain in ....

thanks anyway.

Nightblade






Re: Visual Basic Express Edition Second Option wanted

_Nightblade_

ReneeC

I have to admit that i have a big problem with my program

al i want is to be able to give the user a choise in language

butt your option i can't figger out how or where to find a sample.

can you explain a little bit more about your method, otherwise

i have to redo everything again from scrape.

and that is not so funny if you spent 6 - 8 weeks on it.

thanks in advance

regards

Nightblade.