473,387 Members | 1,903 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,387 software developers and data experts.

Customizing localized applications

Hi

I'm wondering what is the best way to design localized applications. The SDK
says I should use ResourceManager and satellite assemblies.
However, there is a severe pitfall doing this. The application is
distributed to several customers. Of course - they want customized
resources. One can like "hello", another one - "hi". I'm not going doing
this, because I would have to keep all the versions I sold. I want customer
to customize the strings itself.
Assemblies are DLL-s. So there is no way to change resources except
recompiling application. Certainly, this is not acceptable solution. First:
I don't want to distribute code to customers. Second: they do not own
VS.NET.
The other way is to use Assembly Linker (al.exe) which is (probably, did not
check) included in SDK. Even if so, it is not acceptable, too. First: one
need to install full SDK, second: there is small probability for customer
being happy using command line tool...
Currently, I've end up with separate ASCX controls for different languages.
Controls are loaded based on selected culture. Of course, there is hard work
when changing layout. I need to do this in all the controls. Well, it's not
quite stupid idea also - some strange languages have right to left
orientation - so the pages may look different for them (not just strings).

As you can see - no solution is perfect. Any clues?

Regards.

Nov 18 '05 #1
4 1282
Piotr,
I recently wrote an article which should be useful to you:
http://codeproject.com/aspnet/localization_websites.asp

Part 2 should be available next week.

Karl

"Piotr Strycharz" <Pi*************@antispam-account.com> wrote in message
news:cg**********@nemesis.news.tpi.pl...
Hi

I'm wondering what is the best way to design localized applications. The SDK says I should use ResourceManager and satellite assemblies.
However, there is a severe pitfall doing this. The application is
distributed to several customers. Of course - they want customized
resources. One can like "hello", another one - "hi". I'm not going doing
this, because I would have to keep all the versions I sold. I want customer to customize the strings itself.
Assemblies are DLL-s. So there is no way to change resources except
recompiling application. Certainly, this is not acceptable solution. First: I don't want to distribute code to customers. Second: they do not own
VS.NET.
The other way is to use Assembly Linker (al.exe) which is (probably, did not check) included in SDK. Even if so, it is not acceptable, too. First: one
need to install full SDK, second: there is small probability for customer
being happy using command line tool...
Currently, I've end up with separate ASCX controls for different languages. Controls are loaded based on selected culture. Of course, there is hard work when changing layout. I need to do this in all the controls. Well, it's not quite stupid idea also - some strange languages have right to left
orientation - so the pages may look different for them (not just strings).

As you can see - no solution is perfect. Any clues?

Regards.

Nov 18 '05 #2
I agree -- Karl's article is insightful. IMO using compiled assemblies
and satellite assemblies is a serious design flaw.

Do not miss reading the comment, "Sophisticated literal control
needed" as it begins to discuss some critical considerations.

Although I understand the concept of literals I failed to understand how
to use what Karl and Frank seemed to understand when they discussed
a solution in that comment section.

If Karl returns to this discussion I hope he could explain the use of
literals further (in the context we are discussing) or be aware that his
next article needs to explain the use of literals in this context.

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Karl" <none> wrote in message
news:uE****************@TK2MSFTNGP11.phx.gbl...
Piotr,
I recently wrote an article which should be useful to you:
http://codeproject.com/aspnet/localization_websites.asp

Part 2 should be available next week.

Karl

"Piotr Strycharz" <Pi*************@antispam-account.com> wrote in message
news:cg**********@nemesis.news.tpi.pl...
Hi

I'm wondering what is the best way to design localized applications. The

SDK
says I should use ResourceManager and satellite assemblies.
However, there is a severe pitfall doing this. The application is
distributed to several customers. Of course - they want customized
resources. One can like "hello", another one - "hi". I'm not going doing
this, because I would have to keep all the versions I sold. I want

customer
to customize the strings itself.
Assemblies are DLL-s. So there is no way to change resources except
recompiling application. Certainly, this is not acceptable solution.

First:
I don't want to distribute code to customers. Second: they do not own
VS.NET.
The other way is to use Assembly Linker (al.exe) which is (probably, did

not
check) included in SDK. Even if so, it is not acceptable, too. First: one need to install full SDK, second: there is small probability for customer being happy using command line tool...
Currently, I've end up with separate ASCX controls for different

languages.
Controls are loaded based on selected culture. Of course, there is hard

work
when changing layout. I need to do this in all the controls. Well, it's

not
quite stupid idea also - some strange languages have right to left
orientation - so the pages may look different for them (not just strings).
As you can see - no solution is perfect. Any clues?

Regards.


Nov 18 '05 #3
Clinton,
As this is an important issue, you can count on it being address in either
Part 2, or a 3rd part. I'd comment more on Frank's approach, but I haven't
played with it yet. I do believe that his template solution is very elegant
and and sure it'll work, but I'll want to test its flexibility first.

Karl

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:eG**************@TK2MSFTNGP11.phx.gbl...
I agree -- Karl's article is insightful. IMO using compiled assemblies
and satellite assemblies is a serious design flaw.

Do not miss reading the comment, "Sophisticated literal control
needed" as it begins to discuss some critical considerations.

Although I understand the concept of literals I failed to understand how
to use what Karl and Frank seemed to understand when they discussed
a solution in that comment section.

If Karl returns to this discussion I hope he could explain the use of
literals further (in the context we are discussing) or be aware that his
next article needs to explain the use of literals in this context.

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Karl" <none> wrote in message
news:uE****************@TK2MSFTNGP11.phx.gbl...
Piotr,
I recently wrote an article which should be useful to you:
http://codeproject.com/aspnet/localization_websites.asp

Part 2 should be available next week.

Karl

"Piotr Strycharz" <Pi*************@antispam-account.com> wrote in message
news:cg**********@nemesis.news.tpi.pl...
Hi

I'm wondering what is the best way to design localized applications. The
SDK
says I should use ResourceManager and satellite assemblies.
However, there is a severe pitfall doing this. The application is
distributed to several customers. Of course - they want customized
resources. One can like "hello", another one - "hi". I'm not going
doing this, because I would have to keep all the versions I sold. I want

customer
to customize the strings itself.
Assemblies are DLL-s. So there is no way to change resources except
recompiling application. Certainly, this is not acceptable solution.

First:
I don't want to distribute code to customers. Second: they do not own
VS.NET.
The other way is to use Assembly Linker (al.exe) which is (probably,

did not
check) included in SDK. Even if so, it is not acceptable, too. First: one need to install full SDK, second: there is small probability for customer being happy using command line tool...
Currently, I've end up with separate ASCX controls for different

languages.
Controls are loaded based on selected culture. Of course, there is
hard work
when changing layout. I need to do this in all the controls. Well,
it's not
quite stupid idea also - some strange languages have right to left
orientation - so the pages may look different for them (not just

strings).
As you can see - no solution is perfect. Any clues?

Regards.



Nov 18 '05 #4
Thanks Karl.

<%= Clinton Gallagher

"Karl" <none> wrote in message news:OJ**************@TK2MSFTNGP10.phx.gbl...
Clinton,
As this is an important issue, you can count on it being address in either
Part 2, or a 3rd part. I'd comment more on Frank's approach, but I haven't
played with it yet. I do believe that his template solution is very elegant and and sure it'll work, but I'll want to test its flexibility first.

Karl

"clintonG" <cs*********@REMOVETHISTEXTmetromilwaukee.com> wrote in message
news:eG**************@TK2MSFTNGP11.phx.gbl...
I agree -- Karl's article is insightful. IMO using compiled assemblies
and satellite assemblies is a serious design flaw.

Do not miss reading the comment, "Sophisticated literal control
needed" as it begins to discuss some critical considerations.

Although I understand the concept of literals I failed to understand how
to use what Karl and Frank seemed to understand when they discussed
a solution in that comment section.

If Karl returns to this discussion I hope he could explain the use of
literals further (in the context we are discussing) or be aware that his
next article needs to explain the use of literals in this context.

--
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Karl" <none> wrote in message
news:uE****************@TK2MSFTNGP11.phx.gbl...
Piotr,
I recently wrote an article which should be useful to you:
http://codeproject.com/aspnet/localization_websites.asp

Part 2 should be available next week.

Karl

"Piotr Strycharz" <Pi*************@antispam-account.com> wrote in message news:cg**********@nemesis.news.tpi.pl...
> Hi
>
> I'm wondering what is the best way to design localized applications. The SDK
> says I should use ResourceManager and satellite assemblies.
> However, there is a severe pitfall doing this. The application is
> distributed to several customers. Of course - they want customized
> resources. One can like "hello", another one - "hi". I'm not going doing > this, because I would have to keep all the versions I sold. I want
customer
> to customize the strings itself.
> Assemblies are DLL-s. So there is no way to change resources except
> recompiling application. Certainly, this is not acceptable solution.
First:
> I don't want to distribute code to customers. Second: they do not own > VS.NET.
> The other way is to use Assembly Linker (al.exe) which is (probably, did not
> check) included in SDK. Even if so, it is not acceptable, too.
First: one
> need to install full SDK, second: there is small probability for

customer
> being happy using command line tool...
> Currently, I've end up with separate ASCX controls for different
languages.
> Controls are loaded based on selected culture. Of course, there is

hard work
> when changing layout. I need to do this in all the controls. Well, it's not
> quite stupid idea also - some strange languages have right to left
> orientation - so the pages may look different for them (not just

strings).
>
> As you can see - no solution is perfect. Any clues?
>
> Regards.
>



Nov 18 '05 #5

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

Similar topics

0
by: Giulio Mastrosanti | last post by:
Hi, I'm in need to develop a localized application on several languages, but i feel quite confused reading the documentation about this... I'm really new on VB net and I'm principally a Real...
1
by: Bogdan Zamfir | last post by:
Hi, I have big troubles with an Access2002 application I wrote it under Acc2002 Romanian, and try to run it on Acc2002 US version, and I have the following troubles For some forms, Load event...
4
by: VR | last post by:
I am trying to embed a check box into a FlexGrid's cell, but having a problem when I start scrolling the grid. Here is my MyCheckBox class... class MyCheckBox : CheckBox { void Init (...
0
by: Robert Misiak | last post by:
Hi all- I'm trying to add Windows 98/ME support to an app that previously only supported Windows 2000+. My test box is a running 98 SE. I have a number of localized forms (translated for...
4
by: M | last post by:
Hello, I have code like dt.DayOfWeek.ToString(CultureInfo.CurrentCulture) where dt is a DateTime object. I get something like "Sunday", "Monday", etc... while I'm expecting it to be in...
1
by: GeorgeB | last post by:
I use HOW TO: Send Raw Data to a Printer by Using Visual Basic .NET <URL:http://support.microsoft.com/?scid=kb;EN-US;322090> to send text to a dotmatrix printer. I cannot print localized text...
3
by: Mark Findlay | last post by:
When programming reads of the Windows Registry, do the registry keys and values need to be localized for international use? For example, do I need to convert the key name...
1
by: cold80 | last post by:
I'm trying to understand how VS 2005 and the .NET Framework 2.0 can be used for a localized application. I've read a lot of messages, posts and guides but I can find a straight answer. I would like...
5
by: =?Utf-8?B?QXhlbCBEYWhtZW4=?= | last post by:
Hi, I've created a class library assembly containing several string resource files, like: - TableColumns.resx - TableColumns.de.resx - General.resx - General.de.resx
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.