File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Internationalization - with images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Internationalization - with images" Watch "Internationalization - with images" New topic

Internationalization - with images

Angela Poynton
Ranch Hand

Joined: Mar 02, 2000
Posts: 3143
I'm writing a JSP. I have successfully managed to localize the text but I have a graphical "Submit" button on a form. I'd like "Submit" to be in the correct language for the page. Can this be achieved, if so how?

Pounding at a thick stone wall won't move it, sometimes, you need to step back to see the way around.
Ben Roy
Ranch Hand

Joined: Nov 01, 2000
Posts: 70
Is it actually a graphic or is it just a submit button like you normally see on sites (like the one at the bottom of the reply page)? It should be fairly easy to modify if it's a standard type submit button, as the text can be modified.
[This message has been edited by Ben Roy (edited January 17, 2001).]
Angela Poynton
Ranch Hand

Joined: Mar 02, 2000
Posts: 3143
No it's a graphic ... the whole issue goes way beyond just this one graphic but I was using it as an example. Oh BTW I apreciate that I can't actually change the text on the image dynamically ... I was more concerned with using the Locale of the page to choose the graphic which has the correct language on it .... like it finds the correct ResouceBundle for text.
I hope someone can let me know either way on this soon. Is there anyone out there who's used internationalization in JSPs?
[This message has been edited by Angela Poynton (edited January 18, 2001).]
I agree. Here's the link:
subject: Internationalization - with images
jQuery in Action, 3rd edition