473,785 Members | 2,573 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Advice wanted - to use resource files or not

I am looking at "internationali sing" a project.

I can understand resource files, creating them etc.

However the drawback with them seems to be you need to use Visual Studio
to create and maintain them.

It is easy for me to create a text file containing all of the controls
and their strings. I can then give this to a "non computer " person
i.e. an end user to produce a foreign language version. I then read that in.

Can anyone tell me the disadvantage of this approach and what aspect of
resource files I would be losing?

Many thanks,
Nov 21 '05 #1
5 1301
VS 2005 will have a much better resource managment system built in for stuff
like this, but as for resources now, do you mean the old stype RES resource
files you had to compile, or the .NET method of resourceing?

"Jack Russell" <ja***@norubbis h.tpg.com.au> wrote in message
news:O7******** ******@TK2MSFTN GP14.phx.gbl...
I am looking at "internationali sing" a project.

I can understand resource files, creating them etc.

However the drawback with them seems to be you need to use Visual Studio
to create and maintain them.

It is easy for me to create a text file containing all of the controls and
their strings. I can then give this to a "non computer " person i.e. an
end user to produce a foreign language version. I then read that in.

Can anyone tell me the disadvantage of this approach and what aspect of
resource files I would be losing?

Many thanks,

Nov 21 '05 #2
Are you using Visual Studio for developing your application? If so, creating
the .resx files should be easy (just set the Localizable property for the
form/user control to true)

You don't need Visual Studio to localize resources - check out winres:
http://msdn.microsoft.com/library/de...eworkTools.asp

Please note that localizing the application may mean more than just changing
the strings - sometimes you need to change the size or location of controls
because of text length or font changes - winres lets the localizer do all of
this.

Best regards,
Johan Stenberg (MSFT Visual Basic)

"Jack Russell" wrote:
I am looking at "internationali sing" a project.

I can understand resource files, creating them etc.

However the drawback with them seems to be you need to use Visual Studio
to create and maintain them.

It is easy for me to create a text file containing all of the controls
and their strings. I can then give this to a "non computer " person
i.e. an end user to produce a foreign language version. I then read that in.

Can anyone tell me the disadvantage of this approach and what aspect of
resource files I would be losing?

Many thanks,

Nov 21 '05 #3
Brian Henry wrote:
VS 2005 will have a much better resource managment system built in for stuff
like this, but as for resources now, do you mean the old stype RES resource
files you had to compile, or the .NET method of resourceing? The .net method. It is quite easy for me as a developer to make them but
I do not speak the languages. The people who do speak them do not have VS.
"Jack Russell" <ja***@norubbis h.tpg.com.au> wrote in message
news:O7******** ******@TK2MSFTN GP14.phx.gbl...
I am looking at "internationali sing" a project.

I can understand resource files, creating them etc.

However the drawback with them seems to be you need to use Visual Studio
to create and maintain them.

It is easy for me to create a text file containing all of the controls and
their strings. I can then give this to a "non computer " person i.e. an
end user to produce a foreign language version. I then read that in.

Can anyone tell me the disadvantage of this approach and what aspect of
resource files I would be losing?

Many thanks,


Nov 21 '05 #4
Stenis wrote:
Are you using Visual Studio for developing your application? If so, creating
the .resx files should be easy (just set the Localizable property for the
form/user control to true)

You don't need Visual Studio to localize resources - check out winres:
http://msdn.microsoft.com/library/de...eworkTools.asp So can winres run "stand alone". What else does it need installed on the PC?
Please note that localizing the application may mean more than just changing
the strings - sometimes you need to change the size or location of controls
because of text length or font changes - winres lets the localizer do all of
this.

Best regards,
Johan Stenberg (MSFT Visual Basic)

"Jack Russell" wrote:

I am looking at "internationali sing" a project.

I can understand resource files, creating them etc.

However the drawback with them seems to be you need to use Visual Studio
to create and maintain them.

It is easy for me to create a text file containing all of the controls
and their strings. I can then give this to a "non computer " person
i.e. an end user to produce a foreign language version. I then read that in.

Can anyone tell me the disadvantage of this approach and what aspect of
resource files I would be losing?

Many thanks,

Nov 21 '05 #5
WinRes is part of the .NET framework SDK, so you'd need to install that on
the machine. And yes, it should run just fine without VS installed on the
machine.

Please note that I'm not an expert on WinRes myself, so I can't really give
you any more specific advice than to point you to the documentation for the
tool... sorry...

Best regards,
Johan Stenberg

"Jack Russell" wrote:
Stenis wrote:
Are you using Visual Studio for developing your application? If so, creating
the .resx files should be easy (just set the Localizable property for the
form/user control to true)

You don't need Visual Studio to localize resources - check out winres:
http://msdn.microsoft.com/library/de...eworkTools.asp

So can winres run "stand alone". What else does it need installed on the PC?

Please note that localizing the application may mean more than just changing
the strings - sometimes you need to change the size or location of controls
because of text length or font changes - winres lets the localizer do all of
this.

Best regards,
Johan Stenberg (MSFT Visual Basic)

"Jack Russell" wrote:

I am looking at "internationali sing" a project.

I can understand resource files, creating them etc.

However the drawback with them seems to be you need to use Visual Studio
to create and maintain them.

It is easy for me to create a text file containing all of the controls
and their strings. I can then give this to a "non computer " person
i.e. an end user to produce a foreign language version. I then read that in.

Can anyone tell me the disadvantage of this approach and what aspect of
resource files I would be losing?

Many thanks,

Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1237
by: zagloba | last post by:
Hi, I got following problem: I am working on large vs.net application using single solution with many projects inside. Application is some kind of workflow - uses 2 types of xml,xsd,xsl files: "resource files" and "data files". "data files" are, through using some factory stored and managed in database.
1
4031
by: Namratha Shah \(Nasha\) | last post by:
Hi All, This is a resource file generation tool which converts an xml based resource formats to .net resource file i.e. (.resources) and vice-versa. Today we will see how we will generate ==> .txt files from .resources or .resx files. ==> .resources files from text or .resx files.
0
2018
by: Kleanthis | last post by:
I have a problem, when deploying multilingual applications using cab files on Compact Framework 2.0. It seems that something is going wrong with compact framework 2.0 Below I have a description of the problem The main Smart Device Application contains 3 resource files under the Properties folder, in order to produce localization satellite asseblies. Those resource files are named Resources.resx (a default empty resource file),...
1
9654
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
1
2008
by: Tom | last post by:
This may seem a little strange, but in all my years of developing Windows Forms apps, I've never really used Resource files; however, I would like to start doing so in order to store icons, pictures, and most importantly, error message strings in resource files so I don't have to go searching for them inside the code (if I want them changed). I know VS 2005 makes it MUCH easier to use and create resource files, but in my few times I have...
1
915
by: McFly | last post by:
I am doing an ASP.NET 2.0 web site that needs to support multiple languages. I know how to do this using shared resource files. We want to allow our clients to select one type of currency and date format but also allow their users to use the application in different languages while maintaining the same currency and date format regardless of the language.
7
2107
by: craig | last post by:
....quick question for anyone who might have some experience with .net resource files in VS 2003. I have an application that is not localized, but I would still like to be able to place all of the images that are used for icons across all of the forms in all of the assemblies in a single resource file so that swaping out an image in the resource file affects all localtions that it appears in the app. Is there a way to create a single...
4
2852
by: commander_coder | last post by:
Hello, I write a lot of CGI scripts, in Python of course. Now I need to convert some to long-running processes. I'm having trouble finding resources about the best practices to do that. I've found a lot of email discussions that say something like, "You need to educate yourself about the differences when you have long- running processes" but I've not had a lot of luck with finding things that explain the differences. I've seen some...
12
5278
by: TS | last post by:
i have a need to possibly enable mutli language support. What benefit do i get by using a resource file instead of a custom xml solution? thanks!
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9485
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9958
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8986
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7506
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5523
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4058
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2890
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.