Language dependent layout

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
 
L

Lau Lei Cheong

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.
 
J

Josh

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.
 
G

gl.100.rsarig

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.
 
G

garethdjames

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top