Andrea, shure I will not translate the codes! I am just using them to translate the messages!
Kind regards Martin On Tue, 15 Mar 2011 16:21:47 +0100, Andrea Aime <[email protected]> wrote: > On Tue, Mar 15, 2011 at 4:01 PM, <[email protected]> wrote: >> I took a quick look at >> >> http://inspire.jrc.ec.europa.eu/documents/Network_Services/Technical_Guidance_View_Services_v2.12.pdf >> >> Section 3.2.2 >> Internationalization of service exceptions is optional. > > Moreover, as I suspected: > > "If service exceptions are internationalized > then the error messages (exceptions) are either expressed in the > service’s default language (suppose > that the request is incorrect and the LANGUAGE parameter has not been > interpreted before issuing > the error/exception text) or in the preferred (requested) language in > other cases." > > The message is the part that might be internationalized, not the code. > The message comes from one million places from the code, there is no > good way to internationalize it. > > I guess you could indeed use the service exception codes (and the > locator) to build a small set of generic > error messages though, and use a generic internal server error for > everything else. > To do this the best way without nasty workarounds we'd indeed need > some core extensions, such as > adding, for example, a error method to the DispatcherCallback allowing > a callback to alter the exception > (actually, wrap it). > > Cheers > Andrea ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
