By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,078 Members | 1,733 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,078 IT Pros & Developers. It's quick & easy.

ASP.Net Multilingual

P: n/a
Hi All
i need to develop a multilingual s/w, i did it in ASP3.0 two years back,
The main functionality i need is to put all the interface data in XSL
Templates, make an XML packet in ASP, load XSL file transform it on server
side and pass the pure HTML on the client, now the biggest problem i m
facing is how to put runat server controls in XSL, and bind them to code
behind. PLZ HELP

Qazi Asim
Nov 12 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Qazi,

In .NET you should use resource files and satelite assemblies to add
localication
support into your application. You would use the ResourceManager class to
read
a localized string from a satelite assembly. For additional information on
what you
need to do inorder to localize, have a look at

http://www.dotnetjunkies.com/quickst...alization.aspx

HTH,

/Andreas

"Asim Qazi" <qa**@advcomm.net> skrev i meddelandet
news:O9**************@tk2msftngp13.phx.gbl...
Hi All
i need to develop a multilingual s/w, i did it in ASP3.0 two years
back,
The main functionality i need is to put all the interface data in XSL
Templates, make an XML packet in ASP, load XSL file transform it on server
side and pass the pure HTML on the client, now the biggest problem i m
facing is how to put runat server controls in XSL, and bind them to code
behind. PLZ HELP

Qazi Asim

Nov 12 '05 #2

P: n/a
hi Andreas
Thanks for reply, so using DotNet i cannot write my UI in XSL, isn't
there any alternative ??? ..... if ASP3.0 can do it, then y microsoft has
not given its support in dotnet ???

Qazi Asim
"Andreas Håkansson" <an***************@nospam.com> wrote in message
news:ua**************@tk2msftngp13.phx.gbl...
Qazi,

In .NET you should use resource files and satelite assemblies to add
localication
support into your application. You would use the ResourceManager class to
read
a localized string from a satelite assembly. For additional information on
what you
need to do inorder to localize, have a look at

http://www.dotnetjunkies.com/quickst...alization.aspx
HTH,

/Andreas

"Asim Qazi" <qa**@advcomm.net> skrev i meddelandet
news:O9**************@tk2msftngp13.phx.gbl...
Hi All
i need to develop a multilingual s/w, i did it in ASP3.0 two years
back,
The main functionality i need is to put all the interface data in XSL
Templates, make an XML packet in ASP, load XSL file transform it on server side and pass the pure HTML on the client, now the biggest problem i m
facing is how to put runat server controls in XSL, and bind them to code
behind. PLZ HELP

Qazi Asim


Nov 12 '05 #3

P: n/a
No you are misguided Asim. try to stop thinking about what you
had to do with ASP and start thinking ASP.NET. Particularly reasearch
the System.Globalization namespace [1]

a.. CurrentUICulture-specifies the culture for the user interface and is
used for resource file lookups.
a.. CurrentCulture-specifies the culture for data and information. It is
used to format dates, numbers, currencies and sort strings.

DevX article [2]

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

[1]
http://msdn.microsoft.com/library/de...balization.asp
[2] http://www.devx.com/dotnet/Article/6999/0/page/1
"Asim Qazi" <qa**@advcomm.net> wrote in message
news:Oj**************@TK2MSFTNGP12.phx.gbl...
hi Andreas
Thanks for reply, so using DotNet i cannot write my UI in XSL, isn't there any alternative ??? ..... if ASP3.0 can do it, then y microsoft has
not given its support in dotnet ???

Qazi Asim
"Andreas Håkansson" <an***************@nospam.com> wrote in message
news:ua**************@tk2msftngp13.phx.gbl...
Qazi,

In .NET you should use resource files and satelite assemblies to add
localication
support into your application. You would use the ResourceManager class to
read
a localized string from a satelite assembly. For additional information on what you
need to do inorder to localize, have a look at

http://www.dotnetjunkies.com/quickst...alization.aspx

HTH,

/Andreas

"Asim Qazi" <qa**@advcomm.net> skrev i meddelandet
news:O9**************@tk2msftngp13.phx.gbl...
Hi All
i need to develop a multilingual s/w, i did it in ASP3.0 two years
back,
The main functionality i need is to put all the interface data in XSL
Templates, make an XML packet in ASP, load XSL file transform it on

server side and pass the pure HTML on the client, now the biggest problem i m
facing is how to put runat server controls in XSL, and bind them to code behind. PLZ HELP

Qazi Asim



Nov 12 '05 #4

P: n/a
Check out the namespaces under System.Xml. Of course you can use XSL with
ASP.NET !!!
All you have to do is write the code on Page_Load, and directly write the
output to the Response.Output stream, after you've cleaned out all the html
from the Design view of your page.

People tend to use the "controls" features of ASp.NET so much, that they
forget that deep down, it's still nothing different than a simple web page
.... oh well ...
Angel
O:]

"Asim Qazi" <qa**@advcomm.net> wrote in message
news:Oj**************@TK2MSFTNGP12.phx.gbl...
hi Andreas
Thanks for reply, so using DotNet i cannot write my UI in XSL, isn't there any alternative ??? ..... if ASP3.0 can do it, then y microsoft has
not given its support in dotnet ???

Qazi Asim

Nov 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.