473,507 Members | 2,405 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Localization still a pain?

CMM
I don't seem to "get" ASP.NET 2.0's Localization features. I've read up on
everything... and of course, everything is explained in cursory softball
terms- not any "real-world" usage way.

I hope someone can give me a clue...

Questions:

1) Do my eyes deceive me or is it true that localization is still totally
utterly disengaged from the Designer and Property Editor... either in source
or design view. I mean, the "expression bound" Text property of a control
allows me to change its text but it is not reflected in the page's RESX file
and at runtime the text is ignored? Shouldn't designer changes like this
update the neutral (default) RESX file for the page? Am I doing something
wrong?

In other words, the PropertyEditor does not update the neutral RESX file?...
it must always be modified manually? I find that inconceivable. I'm about to
throw ASP.NET out the window and ask MS to refund my company's $20000 worth
of MSDN subscriptions.

2) Binding to *Global Resources* can't be done via the Expressions Editor?
Shouldn't the ClassKey item be a dropdown.... or do I have to type in
everything manually from memory (this same annoyance applies to the
braindead CssClass property elsewhere).

3) Can superflous property bindings be safely deleted from the automatically
generated RESX file. For instance, I can't see why the Value property of
controls is automatically bound as most of the time this is used as a
behind-the-scenes hardcoded value and would confuse human beings responsible
for translating the files. In other words, what the best way to "clean up"
these nasty RESX files?

I truly hope I am missing something here.

--
-C. Moya
www.cmoya.com
Apr 19 '06 #1
5 2637
CMM
The answer to #3 is yes. Since the "generated" resx file (Tools | Generate
Local Resource) is absolutely, ridiculously braindead and only LOOSELY
associated with the ASPX page, it is possible delete items from it at will.

Unfortunately, what this also means is that adding controls to a page are
not added to the resx file either. At all points after generating the resx
file, it's all up to you to keep it up to date.

So in essense, Localization in ASP.NET 2.0 is not really any advancement to
anything we've seen in the last 10 years. In fact, it absolutely lacks
vision and was designed by idiots. Almost ANY proprietary solution you come
up with using XML files and 4 or 5 lines of code is better than what the
ASP.NET guys came up with.
--
-C. Moya
www.cmoya.com
"CMM" <cm*@nospam.com> wrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
I don't seem to "get" ASP.NET 2.0's Localization features. I've read up on
everything... and of course, everything is explained in cursory softball
terms- not any "real-world" usage way.

I hope someone can give me a clue...

Questions:

1) Do my eyes deceive me or is it true that localization is still totally
utterly disengaged from the Designer and Property Editor... either in
source or design view. I mean, the "expression bound" Text property of a
control allows me to change its text but it is not reflected in the page's
RESX file and at runtime the text is ignored? Shouldn't designer changes
like this update the neutral (default) RESX file for the page? Am I doing
something wrong?

In other words, the PropertyEditor does not update the neutral RESX
file?... it must always be modified manually? I find that inconceivable.
I'm about to throw ASP.NET out the window and ask MS to refund my
company's $20000 worth of MSDN subscriptions.

2) Binding to *Global Resources* can't be done via the Expressions Editor?
Shouldn't the ClassKey item be a dropdown.... or do I have to type in
everything manually from memory (this same annoyance applies to the
braindead CssClass property elsewhere).

3) Can superflous property bindings be safely deleted from the
automatically generated RESX file. For instance, I can't see why the Value
property of controls is automatically bound as most of the time this is
used as a behind-the-scenes hardcoded value and would confuse human beings
responsible for translating the files. In other words, what the best way
to "clean up" these nasty RESX files?

I truly hope I am missing something here.

--
-C. Moya
www.cmoya.com

Apr 20 '06 #2
I'm not impressed with what's been done in 2.0 either. I still vastly prefer
my custom resource manager with localized server controls:
http://openmymind.net/index.aspx?documentId=3
http://openmymind.net/index.aspx?documentId=4
http://openmymind.net/index.aspx?documentId=52

In my mind, the real way Microsoft could add value to the problem area is by
provider better (or some) tools to support the maintenance and translation
process.

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"CMM" <cm*@nospam.com> wrote in message
news:Ow**************@TK2MSFTNGP03.phx.gbl...
The answer to #3 is yes. Since the "generated" resx file (Tools | Generate
Local Resource) is absolutely, ridiculously braindead and only LOOSELY
associated with the ASPX page, it is possible delete items from it at
will.

Unfortunately, what this also means is that adding controls to a page are
not added to the resx file either. At all points after generating the resx
file, it's all up to you to keep it up to date.

So in essense, Localization in ASP.NET 2.0 is not really any advancement
to anything we've seen in the last 10 years. In fact, it absolutely lacks
vision and was designed by idiots. Almost ANY proprietary solution you
come up with using XML files and 4 or 5 lines of code is better than what
the ASP.NET guys came up with.
--
-C. Moya
www.cmoya.com
"CMM" <cm*@nospam.com> wrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
I don't seem to "get" ASP.NET 2.0's Localization features. I've read up on
everything... and of course, everything is explained in cursory softball
terms- not any "real-world" usage way.

I hope someone can give me a clue...

Questions:

1) Do my eyes deceive me or is it true that localization is still totally
utterly disengaged from the Designer and Property Editor... either in
source or design view. I mean, the "expression bound" Text property of a
control allows me to change its text but it is not reflected in the
page's RESX file and at runtime the text is ignored? Shouldn't designer
changes like this update the neutral (default) RESX file for the page? Am
I doing something wrong?

In other words, the PropertyEditor does not update the neutral RESX
file?... it must always be modified manually? I find that inconceivable.
I'm about to throw ASP.NET out the window and ask MS to refund my
company's $20000 worth of MSDN subscriptions.

2) Binding to *Global Resources* can't be done via the Expressions
Editor? Shouldn't the ClassKey item be a dropdown.... or do I have to
type in everything manually from memory (this same annoyance applies to
the braindead CssClass property elsewhere).

3) Can superflous property bindings be safely deleted from the
automatically generated RESX file. For instance, I can't see why the
Value property of controls is automatically bound as most of the time
this is used as a behind-the-scenes hardcoded value and would confuse
human beings responsible for translating the files. In other words, what
the best way to "clean up" these nasty RESX files?

I truly hope I am missing something here.

--
-C. Moya
www.cmoya.com


Apr 20 '06 #3
CMM
I find it a little insulting that the localization features in 2.0 are
touted as marketing bullet points. Also funny as their examples never go
beyond the scope of a one-page kiddy web site. But, in truth, Localization
in 2.0 is pretty much an after-thought and practically non-existant.

After-the-fact tools to aid in the actual translation would also be
welcomed... even just *simple* tools.... like how do we organize and send
these gazillion XML files to our office in Japan?.... and how do we clean
them so as not to confuse the translaters? i.e. the "implicit expressions"
implementation is downright retarded and yields impossibly obtuse resx
files. The implementation of it (not so much the idea of it) was written by
a monkey.

But, really, what irks me is the lack of integration with the designer....
that is just plain unforgivable. It's 2006... they should be able to get
this right by now. How hard is it have the Property Editor store your
localizable properties in a the neutral resx file on-the-fly? Why is resx
generation a one way trip?

P.S.
I know a lot of people like 2.0... but as an upgrade.... 2.0 is one of the
worse "improvements" I have ever seen come from Microsoft (great CLR
improvements notwithstanding.... I'm talking ASP.NET proper here).

--
-C. Moya
www.cmoya.com
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:e1**************@TK2MSFTNGP05.phx.gbl...
I'm not impressed with what's been done in 2.0 either. I still vastly
prefer my custom resource manager with localized server controls:
http://openmymind.net/index.aspx?documentId=3
http://openmymind.net/index.aspx?documentId=4
http://openmymind.net/index.aspx?documentId=52

In my mind, the real way Microsoft could add value to the problem area is
by provider better (or some) tools to support the maintenance and
translation process.

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"CMM" <cm*@nospam.com> wrote in message
news:Ow**************@TK2MSFTNGP03.phx.gbl...
The answer to #3 is yes. Since the "generated" resx file (Tools |
Generate Local Resource) is absolutely, ridiculously braindead and only
LOOSELY associated with the ASPX page, it is possible delete items from
it at will.

Unfortunately, what this also means is that adding controls to a page are
not added to the resx file either. At all points after generating the
resx file, it's all up to you to keep it up to date.

So in essense, Localization in ASP.NET 2.0 is not really any advancement
to anything we've seen in the last 10 years. In fact, it absolutely lacks
vision and was designed by idiots. Almost ANY proprietary solution you
come up with using XML files and 4 or 5 lines of code is better than what
the ASP.NET guys came up with.
--
-C. Moya
www.cmoya.com
"CMM" <cm*@nospam.com> wrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
I don't seem to "get" ASP.NET 2.0's Localization features. I've read up
on everything... and of course, everything is explained in cursory
softball terms- not any "real-world" usage way.

I hope someone can give me a clue...

Questions:

1) Do my eyes deceive me or is it true that localization is still
totally utterly disengaged from the Designer and Property Editor...
either in source or design view. I mean, the "expression bound" Text
property of a control allows me to change its text but it is not
reflected in the page's RESX file and at runtime the text is ignored?
Shouldn't designer changes like this update the neutral (default) RESX
file for the page? Am I doing something wrong?

In other words, the PropertyEditor does not update the neutral RESX
file?... it must always be modified manually? I find that inconceivable.
I'm about to throw ASP.NET out the window and ask MS to refund my
company's $20000 worth of MSDN subscriptions.

2) Binding to *Global Resources* can't be done via the Expressions
Editor? Shouldn't the ClassKey item be a dropdown.... or do I have to
type in everything manually from memory (this same annoyance applies to
the braindead CssClass property elsewhere).

3) Can superflous property bindings be safely deleted from the
automatically generated RESX file. For instance, I can't see why the
Value property of controls is automatically bound as most of the time
this is used as a behind-the-scenes hardcoded value and would confuse
human beings responsible for translating the files. In other words, what
the best way to "clean up" these nasty RESX files?

I truly hope I am missing something here.

--
-C. Moya
www.cmoya.com



Apr 20 '06 #4
CMM
BTW, localization seems to work better in Windows Forms. The Designer keeps
the resources up to date on-the-fly even allowing you to choose visually
which resource is the active one in the Designer (either the default neutral
one or some other one).

The ASP.NET team needs to take some serious cues from the WinForms guys as
to how to build a proper Visual Designer. Heck, even the FrontPage guys down
the hall would be better than what they have now.

--
-C. Moya
www.cmoya.com
"CMM" <cm*@nospam.com> wrote in message
news:uI**************@TK2MSFTNGP05.phx.gbl...
I find it a little insulting that the localization features in 2.0 are
touted as marketing bullet points. Also funny as their examples never go
beyond the scope of a one-page kiddy web site. But, in truth, Localization
in 2.0 is pretty much an after-thought and practically non-existant.

After-the-fact tools to aid in the actual translation would also be
welcomed... even just *simple* tools.... like how do we organize and send
these gazillion XML files to our office in Japan?.... and how do we clean
them so as not to confuse the translaters? i.e. the "implicit expressions"
implementation is downright retarded and yields impossibly obtuse resx
files. The implementation of it (not so much the idea of it) was written
by a monkey.

But, really, what irks me is the lack of integration with the designer....
that is just plain unforgivable. It's 2006... they should be able to get
this right by now. How hard is it have the Property Editor store your
localizable properties in a the neutral resx file on-the-fly? Why is resx
generation a one way trip?

P.S.
I know a lot of people like 2.0... but as an upgrade.... 2.0 is one of the
worse "improvements" I have ever seen come from Microsoft (great CLR
improvements notwithstanding.... I'm talking ASP.NET proper here).

--
-C. Moya
www.cmoya.com
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:e1**************@TK2MSFTNGP05.phx.gbl...
I'm not impressed with what's been done in 2.0 either. I still vastly
prefer my custom resource manager with localized server controls:
http://openmymind.net/index.aspx?documentId=3
http://openmymind.net/index.aspx?documentId=4
http://openmymind.net/index.aspx?documentId=52

In my mind, the real way Microsoft could add value to the problem area is
by provider better (or some) tools to support the maintenance and
translation process.

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"CMM" <cm*@nospam.com> wrote in message
news:Ow**************@TK2MSFTNGP03.phx.gbl...
The answer to #3 is yes. Since the "generated" resx file (Tools |
Generate Local Resource) is absolutely, ridiculously braindead and only
LOOSELY associated with the ASPX page, it is possible delete items from
it at will.

Unfortunately, what this also means is that adding controls to a page
are not added to the resx file either. At all points after generating
the resx file, it's all up to you to keep it up to date.

So in essense, Localization in ASP.NET 2.0 is not really any advancement
to anything we've seen in the last 10 years. In fact, it absolutely
lacks vision and was designed by idiots. Almost ANY proprietary solution
you come up with using XML files and 4 or 5 lines of code is better than
what the ASP.NET guys came up with.
--
-C. Moya
www.cmoya.com
"CMM" <cm*@nospam.com> wrote in message
news:%2***************@TK2MSFTNGP02.phx.gbl...
I don't seem to "get" ASP.NET 2.0's Localization features. I've read up
on everything... and of course, everything is explained in cursory
softball terms- not any "real-world" usage way.

I hope someone can give me a clue...

Questions:

1) Do my eyes deceive me or is it true that localization is still
totally utterly disengaged from the Designer and Property Editor...
either in source or design view. I mean, the "expression bound" Text
property of a control allows me to change its text but it is not
reflected in the page's RESX file and at runtime the text is ignored?
Shouldn't designer changes like this update the neutral (default) RESX
file for the page? Am I doing something wrong?

In other words, the PropertyEditor does not update the neutral RESX
file?... it must always be modified manually? I find that
inconceivable. I'm about to throw ASP.NET out the window and ask MS to
refund my company's $20000 worth of MSDN subscriptions.

2) Binding to *Global Resources* can't be done via the Expressions
Editor? Shouldn't the ClassKey item be a dropdown.... or do I have to
type in everything manually from memory (this same annoyance applies to
the braindead CssClass property elsewhere).

3) Can superflous property bindings be safely deleted from the
automatically generated RESX file. For instance, I can't see why the
Value property of controls is automatically bound as most of the time
this is used as a behind-the-scenes hardcoded value and would confuse
human beings responsible for translating the files. In other words,
what the best way to "clean up" these nasty RESX files?

I truly hope I am missing something here.

--
-C. Moya
www.cmoya.com



Apr 20 '06 #5
Does anybody know of any tool that can do the resource string
translation, I mean you pass the XML file and it will give you resource
string in the desired language.
As of date I use bablefish to do translation, if the file gets huge its
a manula task which I hate :)

Apr 23 '06 #6

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

Similar topics

2
6006
by: fadi | last post by:
Hello, I have never implemented Globalization and Localization before, but I am trying to plan for it before starting to implement it in new application. From what I am finding is that there are...
6
1973
by: Rental | last post by:
I'm having the sam problem as described below with the Localization toolkit. Does anyone know if there is a solution to this problem. --->When attempting to generate resource dlls with...
2
1538
by: Julia | last post by:
Hi, We want to migrate out asp application to asp.net and take advantage on localization. I want to ask how it is advice to structure the site directory I am going to use resource only...
4
1471
by: Tobin Harris | last post by:
Hi there, WARNING: Long-ish post! I'm about to undertake an ASP.NET project that requires localisation (2 languages initially, then more). I have read a little about localization, but have...
8
2529
by: Olivier Matrot | last post by:
I encounter a problem with Localization features in ASP.NET 2.0. Is seems that the framework is not able to manage neutral cultures such as 'fr', or 'de'. Those are the culture sent by default from...
2
3549
by: bruno | last post by:
I need to localize my ASP.NET app and I just used "Tools" --"generate local resources" command and everything works fine in my WebForms. Resource file name is: MyWebForm.aspx.resx under a subDir...
0
1634
by: shapper | last post by:
Hello, Sometime ago I followed an article (I believe MSDN) related with localization in Asp.Net 2.0. To make pages localization I create a class named Localization: 1 Public Class...
3
2222
by: Corey B | last post by:
I have an ASP.NET application that was built in ASP.NET v1.1. It has a SQL Server back end database. I have been asked to provide an estimate for the level of effort required to produce a Chinese...
3
6460
by: Computer Guru | last post by:
I have a VB.NET 2005 application with several forms and a couple hundred "strings." I've been looking into all the localization improvements in VB.NET, and I can't seem to find anything that...
0
7114
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
7321
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,...
1
7034
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
7488
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...
1
5045
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...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1544
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 ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.