G
Guest
Is it possible to create multilingual support in a Windows form like you can
do in a web page by using resource files?
do in a web page by using resource files?
Is it possible to create multilingual support in a Windows form like you can
do in a web page by using resource files?
Is it possible to create multilingual support in a Windows form like you can
do in a web page by using resource files?
RobinS said: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-Internati...8860814?ie=UTF8&s=books&qid=1176877129&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 said:Unless I missed something, it doesn't look like there is any simple way
like
web pages. Do you know of any examples?