wood burning stoves
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

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"

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

<form method="POST" name="changeLanguageForm">
<table border="0" align="center" cellpadding="0" cellspacing="0"
<td align="center" valign="middle">
<select name="changeLanguageSelect"
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>

and messages_mr.properties file content is


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: 3640
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
jQuery in Action, 3rd edition