![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm creating a project which uses Satellite Assemblies (SA) to isolate localized resources. The solution contains eight library projects, one GUI control project and one Windows Form project. I know how to approach SA for library projects, but I do not have any idea how to do it for Windows Forms and Controls. Should I use Localizable properties on every win form and win control that I create and copy resource files associated with form/control to SA? Or should I just create resource file in SA with the exact name as the resx files of form/control? Which approach is better? Or maybe there is another, different approach that I should consider? Which approach will allow me to modify form/control in the design view? --Start: Different question but still about resources Can I use String Resource Tools to create resx and corresponding cs file and then split them into two separate projects - resx and string file (string file is created by String Resources Tool) will go to SA, and cs file to new library project? Or maybe I can access cs file in file created by SA? --End. I'll be grateful for yours help. Kind regards, Jakub G. |
#3
| |||
| |||
|
|
Jakub, set the "Localizable"-property of your Form to "true". With the "Language"-property of the Form set to "default" (the inital value) fill in the properties of the elements (like Button-text, Label-text, icons...) within the designer. They will be saved in the .resx-file associated with your Form (e.g. "MyForm.resx" if you Form's class is named "MyForm"). Then, change the "Language"-property of the Form to one of your desired localized languages, e.g. "en-US". A new .resx-file (MyForm.en-US.resx) is created. Fill in the localized versions of the elements' properties within the designer. They will be saved within the new .resx-file. Proceed in this way for all desired localized languages. Upon building the project the IDE will perfectly compile all .resx-files into satellite-assemblies and place them in the correct subfolders below the project output folder (en-US,...). The satellite-assemblies all will be named default-namespace>.ressources.dll. Within the "InitializeComponent()"-Method of your Form you will see that the localized properties are fetched from the satellite-assemblies via a ResourceManager-object. This works fine for all elements which can be localized within the designer. But there are some, that cannot be localized like e.g. the ListViewItem-object. On the other hand you might need some fields like private variables of your Form's class which also shall be localized. For these objects you should add your own .resx-files (e.g. "MyStrings.resx", "MyStrings.en-US.resx",...) in Solution Explorer. In these files define key-value pairs (e.g. "LVI_1_Text" in case of a ListViewItem) for the localized properties; of course they must be named identical througout all .resx-files. These .resx-files will then be compiled into the same satellite-assemblies I described above. In your code, you will have to create a separate ResourceManager-object. If your default-namespace e.g. is named "MyApp", then the satellite-assemblies will all be named "MyApp.ressources.dll". The "MyStrings.resx"-, "MyStrings.en-US.resx" ... - files are embedded within the satellite-assemblies. To correctly fetch your own key-value-pairs out of the satellite-assemblies, use the RessourceManager like this: using System.Globalization; ResourceManager rm = new ResourceManager("MyApp.MyStrings",System.Reflectio n.Assembly.GetExecutingAssembly()); Hope, this helps. I did not really understand your last question. Regards Rolf "Jakub G" <JakubG (AT) discussions (DOT) microsoft.com> schrieb im Newsbeitrag news:0E98BC11-7D4B-44CD-B7AE-B2821EAC88B8 (AT) microsoft (DOT) com... Hi, I'm creating a project which uses Satellite Assemblies (SA) to isolate localized resources. The solution contains eight library projects, one GUI control project and one Windows Form project. I know how to approach SA for library projects, but I do not have any idea how to do it for Windows Forms and Controls. Should I use Localizable properties on every win form and win control that I create and copy resource files associated with form/control to SA? Or should I just create resource file in SA with the exact name as the resx files of form/control? Which approach is better? Or maybe there is another, different approach that I should consider? Which approach will allow me to modify form/control in the design view? --Start: Different question but still about resources Can I use String Resource Tools to create resx and corresponding cs file and then split them into two separate projects - resx and string file (string file is created by String Resources Tool) will go to SA, and cs file to new library project? Or maybe I can access cs file in file created by SA? --End. I'll be grateful for yours help. Kind regards, Jakub G. |
#4
| |||
| |||
|
|
Jakub, set the "Localizable"-property of your Form to "true". With the "Language"-property of the Form set to "default" (the inital value) fill in the properties of the elements (like Button-text, Label-text, icons...) within the designer. They will be saved in the .resx-file associated with your Form (e.g. "MyForm.resx" if you Form's class is named "MyForm"). Then, change the "Language"-property of the Form to one of your desired localized languages, e.g. "en-US". A new .resx-file (MyForm.en-US.resx) is created. Fill in the localized versions of the elements' properties within the designer. They will be saved within the new .resx-file. Proceed in this way for all desired localized languages. Upon building the project the IDE will perfectly compile all .resx-files into satellite-assemblies and place them in the correct subfolders below the project output folder (en-US,...). The satellite-assemblies all will be named default-namespace>.ressources.dll. Within the "InitializeComponent()"-Method of your Form you will see that the localized properties are fetched from the satellite-assemblies via a ResourceManager-object. This works fine for all elements which can be localized within the designer. But there are some, that cannot be localized like e.g. the ListViewItem-object. On the other hand you might need some fields like private variables of your Form's class which also shall be localized. For these objects you should add your own .resx-files (e.g. "MyStrings.resx", "MyStrings.en-US.resx",...) in Solution Explorer. In these files define key-value pairs (e.g. "LVI_1_Text" in case of a ListViewItem) for the localized properties; of course they must be named identical througout all .resx-files. These .resx-files will then be compiled into the same satellite-assemblies I described above. In your code, you will have to create a separate ResourceManager-object. If your default-namespace e.g. is named "MyApp", then the satellite-assemblies will all be named "MyApp.ressources.dll". The "MyStrings.resx"-, "MyStrings.en-US.resx" ... - files are embedded within the satellite-assemblies. To correctly fetch your own key-value-pairs out of the satellite-assemblies, use the RessourceManager like this: using System.Globalization; ResourceManager rm = new ResourceManager("MyApp.MyStrings",System.Reflectio n.Assembly.GetExecutingAssembly()); Hope, this helps. I did not really understand your last question. Regards Rolf "Jakub G" <JakubG (AT) discussions (DOT) microsoft.com> schrieb im Newsbeitrag news:0E98BC11-7D4B-44CD-B7AE-B2821EAC88B8 (AT) microsoft (DOT) com... Hi, I'm creating a project which uses Satellite Assemblies (SA) to isolate localized resources. The solution contains eight library projects, one GUI control project and one Windows Form project. I know how to approach SA for library projects, but I do not have any idea how to do it for Windows Forms and Controls. Should I use Localizable properties on every win form and win control that I create and copy resource files associated with form/control to SA? Or should I just create resource file in SA with the exact name as the resx files of form/control? Which approach is better? Or maybe there is another, different approach that I should consider? Which approach will allow me to modify form/control in the design view? --Start: Different question but still about resources Can I use String Resource Tools to create resx and corresponding cs file and then split them into two separate projects - resx and string file (string file is created by String Resources Tool) will go to SA, and cs file to new library project? Or maybe I can access cs file in file created by SA? --End. I'll be grateful for yours help. Kind regards, Jakub G. |
#5
| |||
| |||
|
|
Rolf, This is about the BEST explanation I have yet seen on how to make internationalized apps. The microsoft documentation should be as clear and precise, they should HIRE you to make user docs. Bob "Rolf Molini" <molini (AT) web (DOT) de> wrote Jakub, set the "Localizable"-property of your Form to "true". With the "Language"-property of the Form set to "default" (the inital value) fill in the properties of the elements (like Button-text, Label-text, icons...) within the designer. They will be saved in the .resx-file associated with your Form (e.g. "MyForm.resx" if you Form's class is named "MyForm"). Then, change the "Language"-property of the Form to one of your desired localized languages, e.g. "en-US". A new .resx-file (MyForm.en-US.resx) is created. Fill in the localized versions of the elements' properties within the designer. They will be saved within the new .resx-file. Proceed in this way for all desired localized languages. Upon building the project the IDE will perfectly compile all .resx-files into satellite-assemblies and place them in the correct subfolders below the project output folder (en-US,...). The satellite-assemblies all will be named default-namespace>.ressources.dll. Within the "InitializeComponent()"-Method of your Form you will see that the localized properties are fetched from the satellite-assemblies via a ResourceManager-object. This works fine for all elements which can be localized within the designer. But there are some, that cannot be localized like e.g. the ListViewItem-object. On the other hand you might need some fields like private variables of your Form's class which also shall be localized. For these objects you should add your own .resx-files (e.g. "MyStrings.resx", "MyStrings.en-US.resx",...) in Solution Explorer. In these files define key-value pairs (e.g. "LVI_1_Text" in case of a ListViewItem) for the localized properties; of course they must be named identical througout all .resx-files. These .resx-files will then be compiled into the same satellite-assemblies I described above. In your code, you will have to create a separate ResourceManager-object. If your default-namespace e.g. is named "MyApp", then the satellite-assemblies will all be named "MyApp.ressources.dll". The "MyStrings.resx"-, "MyStrings.en-US.resx" ... - files are embedded within the satellite-assemblies. To correctly fetch your own key-value-pairs out of the satellite-assemblies, use the RessourceManager like this: using System.Globalization; ResourceManager rm = new ResourceManager("MyApp.MyStrings",System.Reflectio n.Assembly.GetExecutingAssembly()); Hope, this helps. I did not really understand your last question. Regards Rolf "Jakub G" <JakubG (AT) discussions (DOT) microsoft.com> schrieb im Newsbeitrag news:0E98BC11-7D4B-44CD-B7AE-B2821EAC88B8 (AT) microsoft (DOT) com... Hi, I'm creating a project which uses Satellite Assemblies (SA) to isolate localized resources. The solution contains eight library projects, one GUI control project and one Windows Form project. I know how to approach SA for library projects, but I do not have any idea how to do it for Windows Forms and Controls. Should I use Localizable properties on every win form and win control that I create and copy resource files associated with form/control to SA? Or should I just create resource file in SA with the exact name as the resx files of form/control? Which approach is better? Or maybe there is another, different approach that I should consider? Which approach will allow me to modify form/control in the design view? --Start: Different question but still about resources Can I use String Resource Tools to create resx and corresponding cs file and then split them into two separate projects - resx and string file (string file is created by String Resources Tool) will go to SA, and cs file to new library project? Or maybe I can access cs file in file created by SA? --End. I'll be grateful for yours help. Kind regards, Jakub G. |
#6
| |||
| |||
|
|
Hi, Thanks for the reply. It's not exactly what I was asking for. Maybe may question wasn't clear enough, sorry for that. I had created a separate project for resources - MS calls these kinds of projects; Satellite Assemblies. It is desired to be independent, in meaning that after you deploy the application, you can replace all SA dll's with new ones whenever you want , without having to rebuild and re-deploy the application in the production environment. And now, when you have Library Projects, Windows Form Projects and GUI Control Projects, you can separate all resource files from these projects and put them into the SA project. My problem is, that I just don't know how to separate the resources from the win forms and controls, in such a way that I could fully use meaning of SA. Kind regards, Jakub G "Rolf Molini" wrote: Jakub, set the "Localizable"-property of your Form to "true". With the "Language"-property of the Form set to "default" (the inital value) fill in the properties of the elements (like Button-text, Label-text, icons...) within the designer. They will be saved in the .resx-file associated with your Form (e.g. "MyForm.resx" if you Form's class is named "MyForm"). Then, change the "Language"-property of the Form to one of your desired localized languages, e.g. "en-US". A new .resx-file (MyForm.en-US.resx) is created. Fill in the localized versions of the elements' properties within the designer. They will be saved within the new .resx-file. Proceed in this way for all desired localized languages. Upon building the project the IDE will perfectly compile all .resx-files into satellite-assemblies and place them in the correct subfolders below the project output folder (en-US,...). The satellite-assemblies all will be named default-namespace>.ressources.dll. Within the "InitializeComponent()"-Method of your Form you will see that the localized properties are fetched from the satellite-assemblies via a ResourceManager-object. This works fine for all elements which can be localized within the designer. But there are some, that cannot be localized like e.g. the ListViewItem-object. On the other hand you might need some fields like private variables of your Form's class which also shall be localized. For these objects you should add your own .resx-files (e.g. "MyStrings.resx", "MyStrings.en-US.resx",...) in Solution Explorer. In these files define key-value pairs (e.g. "LVI_1_Text" in case of a ListViewItem) for the localized properties; of course they must be named identical througout all .resx-files. These .resx-files will then be compiled into the same satellite-assemblies I described above. In your code, you will have to create a separate ResourceManager-object. If your default-namespace e.g. is named "MyApp", then the satellite-assemblies will all be named "MyApp.ressources.dll". The "MyStrings.resx"-, "MyStrings.en-US.resx" ... - files are embedded within the satellite-assemblies. To correctly fetch your own key-value-pairs out of the satellite-assemblies, use the RessourceManager like this: using System.Globalization; ResourceManager rm = new ResourceManager("MyApp.MyStrings",System.Reflectio n.Assembly.GetExecutingAssembly()); Hope, this helps. I did not really understand your last question. Regards Rolf "Jakub G" <JakubG (AT) discussions (DOT) microsoft.com> schrieb im Newsbeitrag news:0E98BC11-7D4B-44CD-B7AE-B2821EAC88B8 (AT) microsoft (DOT) com... Hi, I'm creating a project which uses Satellite Assemblies (SA) to isolate localized resources. The solution contains eight library projects, one GUI control project and one Windows Form project. I know how to approach SA for library projects, but I do not have any idea how to do it for Windows Forms and Controls. Should I use Localizable properties on every win form and win control that I create and copy resource files associated with form/control to SA? Or should I just create resource file in SA with the exact name as the resx files of form/control? Which approach is better? Or maybe there is another, different approach that I should consider? Which approach will allow me to modify form/control in the design view? --Start: Different question but still about resources Can I use String Resource Tools to create resx and corresponding cs file and then split them into two separate projects - resx and string file (string file is created by String Resources Tool) will go to SA, and cs file to new library project? Or maybe I can access cs file in file created by SA? --End. I'll be grateful for yours help. Kind regards, Jakub G. |
#7
| |||
| |||
|
|
Hi, Thanks for the reply. It's not exactly what I was asking for. Maybe may question wasn't clear enough, sorry for that. I had created a separate project for resources - MS calls these kinds of projects; Satellite Assemblies. It is desired to be independent, in meaning that after you deploy the application, you can replace all SA dll's with new ones whenever you want , without having to rebuild and re-deploy the application in the production environment. And now, when you have Library Projects, Windows Form Projects and GUI Control Projects, you can separate all resource files from these projects and put them into the SA project. My problem is, that I just don't know how to separate the resources from the win forms and controls, in such a way that I could fully use meaning of SA. Kind regards, Jakub G "Rolf Molini" wrote: Jakub, set the "Localizable"-property of your Form to "true". With the "Language"-property of the Form set to "default" (the inital value) fill in the properties of the elements (like Button-text, Label-text, icons...) within the designer. They will be saved in the .resx-file associated with your Form (e.g. "MyForm.resx" if you Form's class is named "MyForm"). Then, change the "Language"-property of the Form to one of your desired localized languages, e.g. "en-US". A new .resx-file (MyForm.en-US.resx) is created. Fill in the localized versions of the elements' properties within the designer. They will be saved within the new .resx-file. Proceed in this way for all desired localized languages. Upon building the project the IDE will perfectly compile all .resx-files into satellite-assemblies and place them in the correct subfolders below the project output folder (en-US,...). The satellite-assemblies all will be named default-namespace>.ressources.dll. Within the "InitializeComponent()"-Method of your Form you will see that the localized properties are fetched from the satellite-assemblies via a ResourceManager-object. This works fine for all elements which can be localized within the designer. But there are some, that cannot be localized like e.g. the ListViewItem-object. On the other hand you might need some fields like private variables of your Form's class which also shall be localized. For these objects you should add your own .resx-files (e.g. "MyStrings.resx", "MyStrings.en-US.resx",...) in Solution Explorer. In these files define key-value pairs (e.g. "LVI_1_Text" in case of a ListViewItem) for the localized properties; of course they must be named identical througout all .resx-files. These .resx-files will then be compiled into the same satellite-assemblies I described above. In your code, you will have to create a separate ResourceManager-object. If your default-namespace e.g. is named "MyApp", then the satellite-assemblies will all be named "MyApp.ressources.dll". The "MyStrings.resx"-, "MyStrings.en-US.resx" ... - files are embedded within the satellite-assemblies. To correctly fetch your own key-value-pairs out of the satellite-assemblies, use the RessourceManager like this: using System.Globalization; ResourceManager rm = new ResourceManager("MyApp.MyStrings",System.Reflectio n.Assembly.GetExecutingAssembly()); Hope, this helps. I did not really understand your last question. Regards Rolf "Jakub G" <JakubG (AT) discussions (DOT) microsoft.com> schrieb im Newsbeitrag news:0E98BC11-7D4B-44CD-B7AE-B2821EAC88B8 (AT) microsoft (DOT) com... Hi, I'm creating a project which uses Satellite Assemblies (SA) to isolate localized resources. The solution contains eight library projects, one GUI control project and one Windows Form project. I know how to approach SA for library projects, but I do not have any idea how to do it for Windows Forms and Controls. Should I use Localizable properties on every win form and win control that I create and copy resource files associated with form/control to SA? Or should I just create resource file in SA with the exact name as the resx files of form/control? Which approach is better? Or maybe there is another, different approach that I should consider? Which approach will allow me to modify form/control in the design view? --Start: Different question but still about resources Can I use String Resource Tools to create resx and corresponding cs file and then split them into two separate projects - resx and string file (string file is created by String Resources Tool) will go to SA, and cs file to new library project? Or maybe I can access cs file in file created by SA? --End. I'll be grateful for yours help. Kind regards, Jakub G. |
#8
| |||
| |||
|
|
Hi, Thanks for the reply. It's not exactly what I was asking for. Maybe may question wasn't clear enough, sorry for that. I had created a separate project for resources - MS calls these kinds of projects; Satellite Assemblies. It is desired to be independent, in meaning that after you deploy the application, you can replace all SA dll's with new ones whenever you want , without having to rebuild and re-deploy the application in the production environment. And now, when you have Library Projects, Windows Form Projects and GUI Control Projects, you can separate all resource files from these projects and put them into the SA project. My problem is, that I just don't know how to separate the resources from the win forms and controls, in such a way that I could fully use meaning of SA. Kind regards, Jakub G "Rolf Molini" wrote: Jakub, set the "Localizable"-property of your Form to "true". With the "Language"-property of the Form set to "default" (the inital value) fill in the properties of the elements (like Button-text, Label-text, icons...) within the designer. They will be saved in the .resx-file associated with your Form (e.g. "MyForm.resx" if you Form's class is named "MyForm"). Then, change the "Language"-property of the Form to one of your desired localized languages, e.g. "en-US". A new .resx-file (MyForm.en-US.resx) is created. Fill in the localized versions of the elements' properties within the designer. They will be saved within the new .resx-file. Proceed in this way for all desired localized languages. Upon building the project the IDE will perfectly compile all .resx-files into satellite-assemblies and place them in the correct subfolders below the project output folder (en-US,...). The satellite-assemblies all will be named default-namespace>.ressources.dll. Within the "InitializeComponent()"-Method of your Form you will see that the localized properties are fetched from the satellite-assemblies via a ResourceManager-object. This works fine for all elements which can be localized within the designer. But there are some, that cannot be localized like e.g. the ListViewItem-object. On the other hand you might need some fields like private variables of your Form's class which also shall be localized. For these objects you should add your own .resx-files (e.g. "MyStrings.resx", "MyStrings.en-US.resx",...) in Solution Explorer. In these files define key-value pairs (e.g. "LVI_1_Text" in case of a ListViewItem) for the localized properties; of course they must be named identical througout all .resx-files. These .resx-files will then be compiled into the same satellite-assemblies I described above. In your code, you will have to create a separate ResourceManager-object. If your default-namespace e.g. is named "MyApp", then the satellite-assemblies will all be named "MyApp.ressources.dll". The "MyStrings.resx"-, "MyStrings.en-US.resx" ... - files are embedded within the satellite-assemblies. To correctly fetch your own key-value-pairs out of the satellite-assemblies, use the RessourceManager like this: using System.Globalization; ResourceManager rm = new ResourceManager("MyApp.MyStrings",System.Reflectio n.Assembly.GetExecutingAssembly()); Hope, this helps. I did not really understand your last question. Regards Rolf "Jakub G" <JakubG (AT) discussions (DOT) microsoft.com> schrieb im Newsbeitrag news:0E98BC11-7D4B-44CD-B7AE-B2821EAC88B8 (AT) microsoft (DOT) com... Hi, I'm creating a project which uses Satellite Assemblies (SA) to isolate localized resources. The solution contains eight library projects, one GUI control project and one Windows Form project. I know how to approach SA for library projects, but I do not have any idea how to do it for Windows Forms and Controls. Should I use Localizable properties on every win form and win control that I create and copy resource files associated with form/control to SA? Or should I just create resource file in SA with the exact name as the resx files of form/control? Which approach is better? Or maybe there is another, different approach that I should consider? Which approach will allow me to modify form/control in the design view? --Start: Different question but still about resources Can I use String Resource Tools to create resx and corresponding cs file and then split them into two separate projects - resx and string file (string file is created by String Resources Tool) will go to SA, and cs file to new library project? Or maybe I can access cs file in file created by SA? --End. I'll be grateful for yours help. Kind regards, Jakub G. |
#9
| |||
| |||
|
|
From: "Rolf Molini" <molini (AT) web (DOT) de Subject: Re: Satellite Assemblies and Win Forms Date: Mon, 19 Sep 2005 22:29:11 +0200 Newsgroups: microsoft.public.dotnet.internationalization Bob, you are right: MSDN unfortunately is not very clear (not to say misleading) about this important issue. When I myself had to deal with this it took me indeed some DAYS to correctly find out everything, within the boards I did not find a suitable explanation as well. During my efforts which after some time degraded to a kind of "Try and Error" I think I sent more curses to Redmond than Bill earns bucks a year :-) So, I think it is the right way to share what I have found out and to save others from this torture of uncertainty where you doubt all the time if you will EVER find a way. Regards Rolf "Bob" <bdufournosp (AT) sgiims (DOT) com> schrieb im Newsbeitrag news:eHM1iVSvFHA.2792 (AT) tk2msftngp13 (DOT) phx.gbl... Rolf, This is about the BEST explanation I have yet seen on how to make internationalized apps. The microsoft documentation should be as clear and precise, they should HIRE you to make user docs. Bob "Rolf Molini" <molini (AT) web (DOT) de> wrote Jakub, set the "Localizable"-property of your Form to "true". With the "Language"-property of the Form set to "default" (the inital value) fill in the properties of the elements (like Button-text, Label-text, icons...) within the designer. They will be saved in the .resx-file associated with your Form (e.g. "MyForm.resx" if you Form's class is named "MyForm"). Then, change the "Language"-property of the Form to one of your desired localized languages, e.g. "en-US". A new .resx-file (MyForm.en-US.resx) is created. Fill in the localized versions of the elements' properties within the designer. They will be saved within the new .resx-file. Proceed in this way for all desired localized languages. Upon building the project the IDE will perfectly compile all ..resx-files into satellite-assemblies and place them in the correct subfolders below the project output folder (en-US,...). The satellite-assemblies all will be named default-namespace>.ressources.dll. Within the "InitializeComponent()"-Method of your Form you will see that the localized properties are fetched from the satellite-assemblies via a ResourceManager-object. This works fine for all elements which can be localized within the designer. But there are some, that cannot be localized like e.g. the ListViewItem-object. On the other hand you might need some fields like private variables of your Form's class which also shall be localized. For these objects you should add your own .resx-files (e.g. "MyStrings.resx", "MyStrings.en-US.resx",...) in Solution Explorer. In these files define key-value pairs (e.g. "LVI_1_Text" in case of a ListViewItem) for the localized properties; of course they must be named identical througout all .resx-files. These .resx-files will then be compiled into the same satellite-assemblies I described above. In your code, you will have to create a separate ResourceManager-object. If your default-namespace e.g. is named "MyApp", then the satellite-assemblies will all be named "MyApp.ressources.dll". The "MyStrings.resx"-, "MyStrings.en-US.resx" ... - files are embedded within the satellite-assemblies. To correctly fetch your own key-value-pairs out of the satellite-assemblies, use the RessourceManager like this: using System.Globalization; ResourceManager rm = new ResourceManager("MyApp.MyStrings",System.Reflectio n.Assembly.GetExecutingAss |
|
Hope, this helps. I did not really understand your last question. Regards Rolf "Jakub G" <JakubG (AT) discussions (DOT) microsoft.com> schrieb im Newsbeitrag news:0E98BC11-7D4B-44CD-B7AE-B2821EAC88B8 (AT) microsoft (DOT) com... Hi, I'm creating a project which uses Satellite Assemblies (SA) to isolate localized resources. The solution contains eight library projects, one GUI control project and one Windows Form project. I know how to approach SA for library projects, but I do not have any idea how to do it for Windows Forms and Controls. Should I use Localizable properties on every win form and win control that I create and copy resource files associated with form/control to SA? Or should I just create resource file in SA with the exact name as the resx files of form/control? Which approach is better? Or maybe there is another, different approach that I should consider? Which approach will allow me to modify form/control in the design view? --Start: Different question but still about resources Can I use String Resource Tools to create resx and corresponding cs file and then split them into two separate projects - resx and string file (string file is created by String Resources Tool) will go to SA, and cs file to new library project? Or maybe I can access cs file in file created by SA? --End. I'll be grateful for yours help. Kind regards, Jakub G. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |