|
-
August 26th, 2007, 08:10 AM
#1
Embedded resource path
Hi! 
I have an application with localization support. When building the application, language resource files are placed in their own directories, like "de/program.resources.dll". I was wondering if it is possible to have these files in programs startup path instead? Maybe there are some settings that I didn't know of?
Thanks.
Using .NET 2.0 
-
August 26th, 2007, 05:51 PM
#2
Re: Embedded resource path
 Originally Posted by gecka
I was wondering if it is possible to have these files in programs startup path instead? Maybe there are some settings that I didn't know of?....
Thats depending on how the localization is built. If you are using the standard localization you need to have it where it is. As it is obviously a german file, it is in a subdirectory ./de of the startup path isn't it ? Basically if you want to use dlls you can do it as it is or you may use a Localization class and override this way that behaviour and putting it whereelse you want to have it. I have mine in
c:\WINDOWDS\RESOURCES\GLOBALISATION\appname\resourcesname.dll
because I like to have fixed pathes. I'm using a Filebased Resourcemanager for that.
Code:
ResourceManager.CreateFileBasedResourceManager
You can read more about that
http://www.codeproject.com/dotnet/Localization.asp
 Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
My latest articles :
Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
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
|