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

assemblies / dll / resourcemanager

P: n/a
Hi,

I've created an assembly where are stores some strings.
By using menu items, user can change language of application GUI (so using the strings in my assemblies)

1. how can i compile my resx into dll ?
2. how can i use a resourcemanager to manage the resources ?
3. how can i do this (1. and 2.) without restarting application or form (due to initializecomponent function present in sub new of my form) ?

thanks a lot
Maileen
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Maileen,

"Maileen" <no*****@nospam.com> schrieb:
I've created an assembly where are stores some strings.
By using menu items, user can change language of application GUI (so using
the strings in my assemblies)

1. how can i compile my resx into dll ?
This can be done by creating localized satellite assemblies which contain
the resources:

Visual Basic and Visual C# Concepts -- Hierarchical Organization of
Resources for Localization
<URL:http://msdn.microsoft.com/library/en-us/vbcon/html/vbconhierarchicalorganizationofresourcesforlocaliz ation.asp>
2. how can i use a resourcemanager to manage the resources ?
Visual Basic and Visual C# Concepts -- Walkthrough: Localizing Windows Forms
<URL:http://msdn.microsoft.com/library/en-us/vbcon/html/vbwlkWalkthroughLocalizingWindowsForms.asp>
3. how can i do this (1. and 2.) without restarting application
or form (due to initializecomponent function present in sub new
of my form) ?


Instantly Changing Language in the Form
<URL:http://www.codeproject.com/csharp/FormLanguageSwitch.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2

P: n/a
thanks a lot.

Herfried K. Wagner [MVP] wrote:
Maileen,

"Maileen" <no*****@nospam.com> schrieb:
I've created an assembly where are stores some strings.
By using menu items, user can change language of application GUI (so
using the strings in my assemblies)

1. how can i compile my resx into dll ?


This can be done by creating localized satellite assemblies which
contain the resources:

Visual Basic and Visual C# Concepts -- Hierarchical Organization of
Resources for Localization
<URL:http://msdn.microsoft.com/library/en-us/vbcon/html/vbconhierarchicalorganizationofresourcesforlocaliz ation.asp>

2. how can i use a resourcemanager to manage the resources ?


Visual Basic and Visual C# Concepts -- Walkthrough: Localizing Windows
Forms
<URL:http://msdn.microsoft.com/library/en-us/vbcon/html/vbwlkWalkthroughLocalizingWindowsForms.asp>

3. how can i do this (1. and 2.) without restarting application
or form (due to initializecomponent function present in sub new
of my form) ?


Instantly Changing Language in the Form
<URL:http://www.codeproject.com/csharp/FormLanguageSwitch.asp>

Nov 21 '05 #3

P: n/a
I have one additional question :

in the example, the resource have the same name as the application. how can i give them another name ?
and how to store them in another folder ?

something like :
application_path\lang_en.dll

instead of application_path\en\applicationname.resources.dll

thanks a lot,
Maileen
Herfried K. Wagner [MVP] wrote:
Maileen,

"Maileen" <no*****@nospam.com> schrieb:
I've created an assembly where are stores some strings.
By using menu items, user can change language of application GUI (so
using the strings in my assemblies)

1. how can i compile my resx into dll ?


This can be done by creating localized satellite assemblies which
contain the resources:

Visual Basic and Visual C# Concepts -- Hierarchical Organization of
Resources for Localization
<URL:http://msdn.microsoft.com/library/en-us/vbcon/html/vbconhierarchicalorganizationofresourcesforlocaliz ation.asp>

2. how can i use a resourcemanager to manage the resources ?


Visual Basic and Visual C# Concepts -- Walkthrough: Localizing Windows
Forms
<URL:http://msdn.microsoft.com/library/en-us/vbcon/html/vbwlkWalkthroughLocalizingWindowsForms.asp>

3. how can i do this (1. and 2.) without restarting application
or form (due to initializecomponent function present in sub new
of my form) ?


Instantly Changing Language in the Form
<URL:http://www.codeproject.com/csharp/FormLanguageSwitch.asp>

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.