2013/5/21 carlo cancellieri <carlo.cancelli...@geo-solutions.it>
> Mauro,
> this is a very interesting proposal.
>
> To have internationalized title / abstract when needed a user should:
>> - use a key instead of the real value in SLD for a title / abstract (the
>> key could be any valid value for a properties file key)
>> - create a property file named SLD_<locale>.properties in the
>> org.geotools.styling package on a path in the classpath with key=value rows
>> for the given locale
>>
>
> Isn't the geoserver_data_dir a good place to store i18n property file for
> styles?
>
Yes, it could be, but at the Geotools level there is no knowlegde of the
geoserver_data_dir. So we should introduce this eventually at the GeoServer
level.
I should look at how to make this pluggable and allow various sources for
internationalization resource bundles.
Mauro
--
==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.
==
Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel