|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Internationalisation Project VB.net 2005 RESXI'm currently working on a winform project that must be in 3 languages (French, English et Polish). I know that I have to work with *.resx files, (1 for each language, 1 for the default) but also 1 for each Form. The problem I have is that I must change the form and modify the objects on it (Textboxes, labels, comboboxes, etc) in the three language so as to have the object recorded into the corresponding resx file. It's a long job so I would like to know if there is a faster possibilty to include objects into the resx files. Moreover, How can I internationalize the messages shown in the messageboxes that I have in my forms still with the 3 languages. For example say "Bonjour" in French, "Hello" in English and "Czesc" in Polish. Thanks for your answers FBS,
Working with those RESX files seems for me endless. A year ago Nick (regular than in this newsgroup) tried it, het had after a while the same idea. For me the most simple is to create an XML dataset/datatable. With a table for every language, the only point is that you get a lot of columns. Just my thought, Dzien Dobry, Bonjour, Bye Cor Show quoteHide quote "FBS" <F.***@wanadoo.fr> schreef in bericht news:445a0f61$0$16733$626a54ce@news.free.fr... > Hello > > I'm currently working on a winform project that must be in 3 languages > (French, English et Polish). > > I know that I have to work with *.resx files, (1 for each language, 1 for > the default) but also 1 for each Form. > > > The problem I have is that I must change the form and modify the objects > on > it (Textboxes, labels, comboboxes, etc) in the three language so as to > have > the object recorded into the corresponding resx file. > > It's a long job so I would like to know if there is a faster possibilty to > include objects into the resx files. > > Moreover, How can I internationalize the messages shown in the > messageboxes > that I have in my forms still with the 3 languages. > > For example say "Bonjour" in French, "Hello" in English and "Czesc" in > Polish. > > Thanks for your answers > > Cor Ligthert [MVP] wrote:
> Working with those RESX files seems for me endless. A year ago Nick (regular Mhm... For me it works just fine, especially in VS 2005.> than in this newsgroup) tried it, het had after a while the same idea To localize forms in VS 2005, simply set the form's 'Localizable' property to true, select the language you want to localize in the property window ('Language' property), then specify the controls' texts, images, etc. Localizing strings isn't that complicated too. "My Project" -> "Resources" provides an easy way to edit default resources. In order to create localized versions, simply create new ResX files and add them to the project. The files' names specify the langage ("resources.resx" for the invariant culture, "resources.en.resx" for 'en', "resources.en-us.resx" for 'en-US', etc.). VS 2005 provides an integrated editor for ResX files. In addition localization of Windows Forms forms can be delegated to other parties because resources can be edited comfortably using "WinRes.exe", which is part of the .NET Framework SDK. -- Herfried K. Wagner [MVP] Herfried,
I live still in the time there was only that ugly C# not ready for use program. Beside that it was needed to deploy all the languages in more folders and more of those strange restrictions which you see when products are still not ready. I will first have a look at it before I will reply on this again. Although my first view shows the same as the ugly C# program. Cor Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> schreef in bericht news:%23N91q$4bGHA.1204@TK2MSFTNGP02.phx.gbl... > Cor Ligthert [MVP] wrote: >> Working with those RESX files seems for me endless. A year ago Nick >> (regular than in this newsgroup) tried it, het had after a while the same >> idea > > Mhm... For me it works just fine, especially in VS 2005. > > To localize forms in VS 2005, simply set the form's 'Localizable' property > to true, select the language you want to localize in the property window > ('Language' property), then specify the controls' texts, images, etc. > > Localizing strings isn't that complicated too. "My Project" -> > "Resources" provides an easy way to edit default resources. In order to > create localized versions, simply create new ResX files and add them to > the project. The files' names specify the langage ("resources.resx" for > the invariant culture, "resources.en.resx" for 'en', > "resources.en-us.resx" for 'en-US', etc.). VS 2005 provides an integrated > editor for ResX files. > > In addition localization of Windows Forms forms can be delegated to other > parties because resources can be edited comfortably using "WinRes.exe", > which is part of the .NET Framework SDK. > > -- > Herfried K. Wagner [MVP] Cor,
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schrieb: I am curious which "ugly C# program" you are referring to.> I live still in the time there was only that ugly C# not ready for use > program. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> > Not checked yet, there was in 2003 a sample self to build program that did > I am curious which "ugly C# program" you are referring to. > > -- look like this and acts like this (it is not there as VBNet program). It looked advanced as the by us known program to make HTML help. I am referring to that. :-) Cor
Sql Code generation tools
Do nothing but wait loop.. copying records User permission problems. sqlconnection On the fly formatting of textbox contents HttpWebRequest - Timeout For Each Loop Not Working Declaration Expected how to prevent the controls in a form and form itself to scroll? Strip chars from a string |
|||||||||||||||||||||||