[Geoserver-devel] BUG with french localisation

Oops, forgot to CCed the list.
I commit the changes.

didier

---------- Message transmis ----------

Subject: Re: [Geoserver-devel] BUG with french localisation
Date: Fri, 10 Feb 2006 17:49:13 +0100
From: Richard didier <dgr@anonymised.com>
To: "Alcer (Pierre-Emmanuel Balageas)" <geoserver@anonymised.com>

Le Vendredi 10 Février 2006 17:10, Alcer (Pierre-Emmanuel Balageas) a écrit :

Hello,

Bonjour Pierre-Emmanuel,

this is my configuration:

I use Geoserver 1.3PR1 with Windows XP SP2 and j2sdk1.4.2_08. I get
geoserver in the .exe version.

this is the problem :
when I try to edit a datastore or a layer, I get an error:

Action 'Éditer' must be '&Eacute;diter' or 'Supprimer'

org.vfny.geoserver.action.data.DataDataStoresSelectAction.execute(DataDataS
toresSelectAction.java:67)

    org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:98)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProce
ssor.java:484)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274
)

    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacter
EncodingFilter.java:122)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.j
ava:81)

I think it's due to the french version and the "É" character of
'Éditer'. I can fix the bug with a little modification of the file
ApplicationResources_fr.properties on line 107: replace
"label.edit=&Eacutediter" by "label.edit=Éditer" and it works better.
Buttons are well displayed either in IE6 and FireFox 1.5!

The problem is when comparing the button label (text is rendered) with the
resource label (pure html). I will change all the HTML codes in
ApplicationResources_fr.properties into the relevant characters.

Best regards,

Sincèrement,

Pierre-Emmanuel

didier

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd.k&kid3432&bid#0486&dat1642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-------------------------------------------------------