Forums Register Login

supporting multiple languages in a JSP page

+Pie Number of slices to send: Send
Can someone direct me toward reference material for the best way to support multiple languages in Java Server Pages? The page should be able to display in English, Spanish, and probably other languages. I would like to not have different versions of the page, but different versions of the text displayed. Looking for the right design pattern for this (I can think of multiple ways, but what is the best way, I am sure others have solved this.)
+Pie Number of slices to send: Send
Check out the fmt class of tags from the JSTL.
+Pie Number of slices to send: Send
+Pie Number of slices to send: Send
Thank you both...

Don
+Pie Number of slices to send: Send
If your target is "western European" languages, like English, French, Spanish, German, etc. then its pretty direct how to use things like 'fmt' and bundle properties to switch. Doing the translations properly is a bit of a challenge, but its mostly a matter of knowing the languages fluently.

Once you get into middle-eastern languages or Asian languages, there are lots of challenges, The basic translation is still the same idea, but the presentation becomes a big issue.
\
It's exactly the same and completely different as this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2523 times.
Similar Threads
struts Internationalization and fonts for jsp
How to handle multiple action with in one page?
DOJO with Portals
Internationalization
Best Approach for multiple versions of sdk and runtime on same platform
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:36:59.