struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Beal <>
Subject Re: I18N by pages
Date Wed, 29 Jun 2005 13:06:24 GMT
This is just an idea, depending on what sort of differences you have
on your JSP pages, it may or not work.  As a trite and unrealistic
example, let's say that your design team has told you that blue text
will work better for your English-speaking audience, but purple text
will work better for your French-speaking audience.  Simply create two

body { color: blue; }

body { color: purple; }

Then, in your JSP page, you'd just include the appropriate
locale-specific CSS stylesheet to achieve the look you want.  (sounds
like a really quick custom tag.)

I'm sure that color is not the extent of the differences between what
you would want in your French-specific JSP's and your English-specific
JSP's, but with all of the positioning and other capabilities in CSS,
you could probably do a lot with this approach.

On 6/29/05, Yaroslav Novytskyy <> wrote:
> Hello!
> Jeff Beal wrote:
> > ...
> > Have you considered locale-specific CSS files to give
> > a different presentation to the same JSP page?
> > ...
> I have no idea of this. Can you, please, comment?
> Yaroslav Novytskyy.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message