This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question related to displaying I18N messages

 
ganesh pol
Ranch Hand
Posts: 151
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3640
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic