Language dependent layout

  • Thread starter Thread starter gl.100.rsarig
  • Start date Start date
G

gl.100.rsarig

Hi,
I need those ASP gurus out there.
I am developing a web site that should display different layout for
different languages.
For example, the label layout for Japanese,English and Chinese will be
different.
For the label content - I understand that it is best using resources
that are culture dependent.
But what about the layout?
How can I change the layout according to the language?
Is it possible using a single aspx?
If not, how can I create different aspx's for different languages and
still use the same codeBehind ?
Any help would be much appreciated.
Rs
 
I'm not sure what you exactly mean by saying "layout", but I assume that you
can save the width and height value into your language resources table too.
Just like what you would do with Label.Text.

I think accessing the value in resources table is just like accessing
something stored in Session variables.
 
If not, how can I create different aspx's for different languages and
still use the same codeBehind ?
Any help would be much appreciated.
Rs

Dont use Table layouts. use the CSS layout approach.

Use DIV Tags around each "part" of the page, then dependent on culture you
can reset the CSS class used for each DIV tag therby repositioning.
 
Thanks for your answers.
I meant - changing location of controls on the form, dependant on the
language of the user.
Does CSS layout approach answer that?
I am not familiar with that.
Any good resources?
Thanks again.
 
I would develop templated controls that allow you to specify different
templates for different locales
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top