473,387 Members | 1,483 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,387 software developers and data experts.

Creating multilanguage forms

I have created a form with some labels that I have translated into
french and englich, default language is german.
I can switch languages by code no problem.

But when I run this sample on a french windows I still get all the
german labels on startup. Doesn't .NET not realise that I have
installed a frend Win2K? Is there anything I have to add to my code to
achieve this?

Thomas

Nov 20 '05 #1
4 1025
Cor
Tosch
Depends on the way you set the language and culture, when you use the
culture methode in the resource, than you have as far as I know to do
nothing. (Be awared for W98/Me systems, because the language is there set
using the keyboard settings.
Cor
Nov 20 '05 #2
* Tosch <to**********@swissonline.ch> scripsit:
I have created a form with some labels that I have translated into
french and englich, default language is german.
I can switch languages by code no problem.

But when I run this sample on a french windows I still get all the
german labels on startup. Doesn't .NET not realise that I have
installed a frend Win2K? Is there anything I have to add to my code to
achieve this?


How did you implement the multiple language support?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
On the form I have set localizable=true, set the language I wanted and
then entered the text property for the lables in the appropriate
language.

VB then generated code that loads lot's of properties from the
resource file, not only the text property.
Tosch
On 09 Oct 2003 20:12:48 +0200, hi***************@gmx.at (Herfried K.
Wagner [MVP]) wrote:
* Tosch <to**********@swissonline.ch> scripsit:
I have created a form with some labels that I have translated into
french and englich, default language is german.
I can switch languages by code no problem.

But when I run this sample on a french windows I still get all the
german labels on startup. Doesn't .NET not realise that I have
installed a frend Win2K? Is there anything I have to add to my code to
achieve this?


How did you implement the multiple language support?


Nov 20 '05 #4
Cor
Hi Tosch,
I think that you did it in the right way,
You can check this, when you set your solutions explorer to show all files
(that is in top of the explorer one of the four icons)
And then open the tree beneath your form, there has to be for every language
you have used an extra resx file.
If it is not, you are sure that it is not working.
I hope this helps a little bit.
Cor
Nov 20 '05 #5

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

Similar topics

5
by: Mariano López | last post by:
I'm trying to make a multilanguage website. When the user enters the site, I want to detect the language and automatically make a redirection. How can I do this? And how should I organize my data...
1
by: Tosch | last post by:
I have to write a multilanguage application with the following criteria: - The language code can be set in a config file or similar. I don't want .NET do decide which language to use. This way...
6
by: DraguVaso | last post by:
Hi, In my application, on some given actions while debugging in Visual Studio, I suddenly get a "System.ComponentModel.Win32Exception was unhandled" Message="Error creating window handle."...
5
by: Ahmet AKGUN | last post by:
Hi; How can I create multylanguage windows forms in c# ? I mean is it possible to change all resource language (button text, menus etc.) from english to spanish with a small change ? any...
0
by: Giovane Calabrese | last post by:
ok. im try to make a multilanguage system based on that tutorial : http://www.123aspx.com/redir.aspx?res=29112 in my aspx pages all text are in labels , and i want to take the name labels...
8
by: Aftab Alam | last post by:
Hello All I wanted to know that how can I build an application which takes arabic or urdu input I mean when I type something in my applications edit box it writes arabic. please do let me know...
5
by: Michal Táborský | last post by:
I am wondering, if it's effective to use text arrays to store multilanguage information. We used to do it like this: CREATE TABLE product ( id serial NOT NULL, price float4, ... )
0
by: HelmutStoneCorner | last post by:
Hi, I am connected as a german client to a multilanguage server, Regional Options: English, US. Western Europe and US. The W2K Server (Terminal) -version: english(US) runs a french database. My...
15
by: AG | last post by:
I have seen the samples for multilanguage support regarding what is normally static content. Can anyone point me to a good sample for multilanguage support for dynamic content. Like a gridview...
1
by: paolob | last post by:
I need to provide multilanguage support to my application. I alredy writed a multilanguage test application, using VS6 and resource only dll. Now i'm using Visual Studio 2005, I find out that it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.