aspose file tools*
The moose likes JSP and the fly likes Question related to displaying I18N messages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Question related to displaying I18N messages" Watch "Question related to displaying I18N messages" New topic
Author

Question related to displaying I18N messages

ganesh pol
Ranch Hand

Joined: Apr 29, 2005
Posts: 151
problem is


i am using spring framework's I18n support for displaying messages in locale specific format on jsp

these messages are displayed on my machine as what i want

but when i am trying to display same jsp from other machines which are in LAN ,messages are something like square boxes

how should i display same locale specific messages on other machines
and not square boxes






part of jsp page relevent to this context is

<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>

.
.
.
.
.
.
.
<spring:message code="login"/>.
.
.
..
<spring:message code="password"/>.
.
.
.
.
.
.

<form method="POST" name="changeLanguageForm">
<table border="0" align="center" cellpadding="0" cellspacing="0"
width="50%">
<tr>
<td align="center" valign="middle">
<select name="changeLanguageSelect"
size="1"
onChange="window.location=document.changeLanguageF orm.changeLanguageSelect.options[document.changeLanguageForm.changeLanguageSelect.s electedIndex].value">
<option value="-1">select</option>
<option value="?locale=en&a1.core">English</option>
<option value="?locale=mr&a1.core">Marathi</option>
</select>
</td>
</tr>
</table>
</form>










and messages_mr.properties file content is

login=\u0932\u0949\u095A
password=\u0917\u0941\u09A2\u0924\u0965\u092E

how should i down load these locale specific fonts on browser

so that others can see pages in locale specific way
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
I don�t have any ideas about i18n, but check this link. It has some good artciles about i18n.
[ March 17, 2006: Message edited by: Chetan Parekh ]

My blood is tested +ve for Java.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question related to displaying I18N messages
 
Similar Threads
Redirct page in Tilse with JSTL
struts form being cleared in IE 6
How would you improve this code?
How to display values in my form if I have two textboxes of same name...
Create a box