473,405 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

localizing web form without setting values programmatically

Hello

I have to start an Asp.net project that involves i18n, so I was doing
some reading on the subject. I'm not sure (and I *really* hope I'm
wrong) but is it true, that there is no way to store localized values in
resource files without assigning them programmatically? Which means: I
can't just set a labels text as usual and change this value in a
localized resource file which is being assigned dynamically regarding
the regional settings?

Having 50 pages with loads of controls that all have settings like
<%=LocRM.GetString("txtWelcome")%>
is a design- and administration-nightmare and a waste of the built-in
i18n-support...
:-(
Thanks for your advice

Philipp

Nov 17 '05 #1
2 1436
Hi,

well, you can use the normal way (ie. <asp:label id="..." text="MyText"
..../> and then overwrite it with LabelName.Text =
MyLocRM.GetString("lblMyLabel"). Still this is a lot of work. My approach
was to build it as I normally would and then get a temp to do the RM
plumbing :) - Worked pretty well and you still can use the WYSIWYG editor if
you really have to. Other than that I wish that MS would do another version
of this one here, which sounds very promising, but has it's own problems:

http://msdn.microsoft.com/library/de...loctoolkit.asp

Best regards,

Marc Höppner
NeoGeo

"Philipp Sumi" <su***@freesurf.spam.ch> wrote in message
news:eG**************@tk2msftngp13.phx.gbl...
Hello

I have to start an Asp.net project that involves i18n, so I was doing
some reading on the subject. I'm not sure (and I *really* hope I'm
wrong) but is it true, that there is no way to store localized values in
resource files without assigning them programmatically? Which means: I
can't just set a labels text as usual and change this value in a
localized resource file which is being assigned dynamically regarding
the regional settings?

Having 50 pages with loads of controls that all have settings like
<%=LocRM.GetString("txtWelcome")%>
is a design- and administration-nightmare and a waste of the built-in
i18n-support...
:-(
Thanks for your advice

Philipp

Nov 17 '05 #2
Hello John, Karl and Marc

Thanks for the fast reply! I'll evaluate the Localization Toolkit which
sounds promising. Furthermore, I discovered a localization component
that provides the functionality I was missing. Unfortunately, it's
commercial but it's a fallback if the toolkit does not meet my requirements:

http://www.winformreports.co.uk/features_loc.htm

Thank you very much for your inputs :-)

Philipp

Nov 17 '05 #3

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

Similar topics

14
by: Paul | last post by:
I want to set the page title and/or a form hidden field programatically through ASP.Net. I do not want to use something like... <% sTitle ="My Title" %> <html><title><%=sTitle%></title>..... ...
24
by: Nak | last post by:
Hi there, I have some inherited forms that I wish to make "localizable", unfortunately none of the items I wish to be "localizable" are actually being "localized". For example, I have a few of...
5
by: Mike Dee | last post by:
Is it possible to dynamically create a new form object (form1), then create a new form field object and add it form1, and then add form1 to the current document? I need to do all this in script...
0
by: RKT | last post by:
I have a DataGridView bound to an MS Access table. This is a single- user application. When the User is adding or editing a row, the User may click on a Control elsewhere. That Control has context...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...
0
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...

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.