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

ASP.Net Multilingual

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
4 4885
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ed | last post by:
I want to create a multilingual website in ASP. Is the Dictionary object created with the application-level scope the way to go?
0
by: Corobori | last post by:
I am developping a multilingual application. I would like to find an installer integrated with .NET allowing me to develop a multilingual interface as well as including the NET Framework in those...
2
by: charliewest | last post by:
Building Multilingual Portal I have been assigned a new project to build a multilingual portal using ASP and/or ASP.NET and the expected Microsoft technologies including ADO and SQL Server 2000....
0
by: Charles | last post by:
Hi, I'm looking for best practices for building a multilingual database. It is for an multilingual application that will use a persistence layer. I would like to know what are the different...
7
by: J?rg Keller | last post by:
Hi all I have to localize an Access 2002 application: The application using several form, tables etc. is currently only in English. Now the frontend has to be bilingual, so the user can choose...
5
by: HALLES | last post by:
HI ! Is there a way to write append rewrite a XML Multilingual file. Two parallele aims Multilingual and Xml File format or Xml Lile file Format. Is there an editor to do that. HALLES .
0
by: JoanneC | last post by:
When developing dynamic web content for the global market place using ASP.NET, VB.NET and MS-Access, why should one install MS-Windows 2000 Server (mulitlanguage/multilingual), and is it necessary...
0
by: JoanneC | last post by:
When developing dynamic web content for the global market place using ASP.NET, VB.NET and MS-Access, why should one install MS-Windows 2000 Server (mulitlanguage/multilingual), and is it necessary...
4
by: Jim Adams | last post by:
Anyone have any insights into this? I'm planning an upgrade to an existing ASP.Net project to support multiple display languages (e.g. English, Spanish, ...). I'd like to use a solution that...
64
by: Manfred Kooistra | last post by:
I am building a website with identical content in four different languages. On a first visit, the search engine determines the language of the content by the IP address of the visitor. What the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.