[Geoserver-devel] New community module for UI translation

Hi PSC,

I'm requesting permission to add a new community module to geoserver trunk, intended to ease the encourage the translation of the geoserver user interface to different languages, and for them to be automatically packaged for the user to contribute the translations with minimal effort.

Hopefully this module will become an official extension, but a step at a time... can I go for the community module?

Cheers,
Gabriel
--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

+1

Jody

On Wed, Aug 26, 2009 at 9:32 AM, Gabriel Roldan<groldan@anonymised.com> wrote:

Hi PSC,

I'm requesting permission to add a new community module to geoserver
trunk, intended to ease the encourage the translation of the geoserver
user interface to different languages, and for them to be automatically
packaged for the user to contribute the translations with minimal effort.

Hopefully this module will become an official extension, but a step at a
time... can I go for the community module?

Cheers,
Gabriel
--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Gabriel Roldan ha scritto:

Hi PSC,

I'm requesting permission to add a new community module to geoserver trunk, intended to ease the encourage the translation of the geoserver user interface to different languages, and for them to be automatically packaged for the user to contribute the translations with minimal effort.

Hopefully this module will become an official extension, but a step at a time... can I go for the community module?

Sure!

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Thanks,

I've just committed the module.

One of the characteristics of this module is the ability to change the UI locale on the fly, so you can test your translation as you make it.

In order to do so, a custom wicket IStringResourceLoader is needed, so I want to propose the addition of a IStringResourceLoader extension point for GeoServerApplication to register them when declared.

The patch to do so looks like this: <http://pastebin.com/m3e612c59&gt;, please tell if it seems appropriate.

Cheers,
Gabriel

Andrea Aime wrote:

Gabriel Roldan ha scritto:

Hi PSC,

I'm requesting permission to add a new community module to geoserver trunk, intended to ease the encourage the translation of the geoserver user interface to different languages, and for them to be automatically packaged for the user to contribute the translations with minimal effort.

Hopefully this module will become an official extension, but a step at a time... can I go for the community module?

Sure!

Cheers
Andrea

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Gabriel Roldan ha scritto:

Thanks,

I've just committed the module.

One of the characteristics of this module is the ability to change the UI locale on the fly, so you can test your translation as you make it.

In order to do so, a custom wicket IStringResourceLoader is needed, so I want to propose the addition of a IStringResourceLoader extension point for GeoServerApplication to register them when declared.

The patch to do so looks like this: <http://pastebin.com/m3e612c59&gt;, please tell if it seems appropriate.

Ah, Spring context contributed string loaders, which are placed in
the list before the built in ones. Sounds fine to me, if anyone
wants to stick the UI translations in a database or any other
source he'll be able to do so.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Thanks Andrea,
so I went ahead as per http://jira.codehaus.org/browse/GEOS-3390

Cheers,
Gabriel
Andrea Aime wrote:

Gabriel Roldan ha scritto:

Thanks,

I've just committed the module.

One of the characteristics of this module is the ability to change the UI locale on the fly, so you can test your translation as you make it.

In order to do so, a custom wicket IStringResourceLoader is needed, so I want to propose the addition of a IStringResourceLoader extension point for GeoServerApplication to register them when declared.

The patch to do so looks like this: <http://pastebin.com/m3e612c59&gt;, please tell if it seems appropriate.

Ah, Spring context contributed string loaders, which are placed in
the list before the built in ones. Sounds fine to me, if anyone
wants to stick the UI translations in a database or any other
source he'll be able to do so.

Cheers
Andrea

--
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.