|
-
Apr 13th, 2006, 10:47 AM
#1
Thread Starter
Junior Member
Resource file to put label name?
is that possible to put all the label name into resource file?
i think it relates to locale issue ?
-
Apr 13th, 2006, 08:10 PM
#2
Re: Resource file to put label name?
If you want to use different text for Labels, etc. depending on the current language and culture then you should read about Localization and Globalization. If you want to use entire sets of resources based on some specific criteria then you should probably read about those topics anyway but you won't be using the system culture to decide which set to use so some details will be different.
-
Apr 13th, 2006, 08:54 PM
#3
Thread Starter
Junior Member
Re: Resource file to put label name?
I mean can we put the Label Text into resource file.
for example.
we have label text
Product Id
Product Name,
however, some customer, would like to be
Item Id,
Item name,
Then I have to open the form and find the label to edit
IF i can put those label text in resource,
I just can open the resource file to edit,
and I dont have search all the form
-
Apr 13th, 2006, 09:27 PM
#4
Re: Resource file to put label name?
You could create a satellite assembly that contains your resources. Then to change the values used you just edit the resources and recompile the DLL, then overwrite the existing one on the target machine. If you actually want to supply more than one set of resources from the outset then you'd probably use the same mechanism as localisation, but it doesn't sound like that's what you want to do. I suggest that you read the following links about satellite assemblies as it sounds like the best solution to your problem.
Creating Satellite Assemblies
Accessing Satellite Assemblies
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|