By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,652 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,652 IT Pros & Developers. It's quick & easy.

Multilingual Support in Windows Forms

P: n/a
Is it possible to create multilingual support in a Windows form like you can
do in a web page by using resource files?
Apr 17 '07 #1
Share this Question
Share on Google+
7 Replies


P: n/a
On Apr 17, 6:00 pm, Mike <M...@discussions.microsoft.comwrote:
Is it possible to create multilingual support in a Windows form like you can
do in a web page by using resource files?
It is possible, this link might help a little

http://www.codeproject.com/csharp/mu...pplication.asp

Apr 17 '07 #2

P: n/a
On Apr 17, 3:00 pm, Mike <M...@discussions.microsoft.comwrote:
Is it possible to create multilingual support in a Windows form like you can
do in a web page by using resource files?
You might want to start here:

http://www.microsoft.com/globaldev/default.mspx

Apr 17 '07 #3

P: n/a
This is ok for a web page but is there anything for a Windows Form?

"JoeW" wrote:
On Apr 17, 6:00 pm, Mike <M...@discussions.microsoft.comwrote:
Is it possible to create multilingual support in a Windows form like you can
do in a web page by using resource files?

It is possible, this link might help a little

http://www.codeproject.com/csharp/mu...pplication.asp

Apr 17 '07 #4

P: n/a
Unless I missed something, it doesn't look like there is any simple way like
web pages. Do you know of any examples?

"Bruce Wood" wrote:
On Apr 17, 3:00 pm, Mike <M...@discussions.microsoft.comwrote:
Is it possible to create multilingual support in a Windows form like you can
do in a web page by using resource files?

You might want to start here:

http://www.microsoft.com/globaldev/default.mspx

Apr 17 '07 #5

P: n/a
I managed to put together an application a while back, but I don't
have it handy. As I recall it wasn't too hard to internationalize...
just put all of the strings in a resource file.

So, sorry, no, but as I said it wasn't all that difficult....

On Apr 17, 4:38 pm, Mike <M...@discussions.microsoft.comwrote:
Unless I missed something, it doesn't look like there is any simple way like
web pages. Do you know of any examples?
"Bruce Wood" wrote:
On Apr 17, 3:00 pm, Mike <M...@discussions.microsoft.comwrote:
Is it possible to create multilingual support in a Windows form like you can
do in a web page by using resource files?
You might want to start here:
http://www.microsoft.com/globaldev/default.mspx
Apr 18 '07 #6

P: n/a
You might want to check out this book. You *can* just replace strings, but
this talks about a lot of other considerations, like layout, bitmaps, gifs,
right-to-left languagse, etc. It's very good and very clear and concise.

http://www.amazon.com/NET-Internatio...6877129&sr=8-1

For WinForms, there is a property on the form (Localizable?) you can set.
Then you can change the property [Language I think], and change what you
want -- it writes the differences to a resources file. (Try to always
change it back to the default language, so you don't mess something up that
you didn't mean to.)

When you run it, if you set the culture to that language, you can see your
stuff. For example, to see the forms in France French:

Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-fR");

This is a start. There's a whole lot more cool stuff in that book, about
machine translation, having someone else do the translastion and control
placement, how to manage the resource files, etc. Pretty cool.

Robin S.
---------------------------------
"Mike" <Mi**@discussions.microsoft.comwrote in message
news:18**********************************@microsof t.com...
Unless I missed something, it doesn't look like there is any simple way
like
web pages. Do you know of any examples?

"Bruce Wood" wrote:
>On Apr 17, 3:00 pm, Mike <M...@discussions.microsoft.comwrote:
Is it possible to create multilingual support in a Windows form like
you can
do in a web page by using resource files?

You might want to start here:

http://www.microsoft.com/globaldev/default.mspx


Apr 18 '07 #7

P: n/a
The form localization is exactly what I was looking for.

tsx

"RobinS" wrote:
You might want to check out this book. You *can* just replace strings, but
this talks about a lot of other considerations, like layout, bitmaps, gifs,
right-to-left languagse, etc. It's very good and very clear and concise.

http://www.amazon.com/NET-Internatio...6877129&sr=8-1

For WinForms, there is a property on the form (Localizable?) you can set.
Then you can change the property [Language I think], and change what you
want -- it writes the differences to a resources file. (Try to always
change it back to the default language, so you don't mess something up that
you didn't mean to.)

When you run it, if you set the culture to that language, you can see your
stuff. For example, to see the forms in France French:

Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-fR");

This is a start. There's a whole lot more cool stuff in that book, about
machine translation, having someone else do the translastion and control
placement, how to manage the resource files, etc. Pretty cool.

Robin S.
---------------------------------
"Mike" <Mi**@discussions.microsoft.comwrote in message
news:18**********************************@microsof t.com...
Unless I missed something, it doesn't look like there is any simple way
like
web pages. Do you know of any examples?

"Bruce Wood" wrote:
On Apr 17, 3:00 pm, Mike <M...@discussions.microsoft.comwrote:
Is it possible to create multilingual support in a Windows form like
you can
do in a web page by using resource files?

You might want to start here:

http://www.microsoft.com/globaldev/default.mspx



Apr 18 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.