Re: [Geotools-devel] GeoTools and internationalization

2008-02-06 Thread Simone Giannecchini
On Feb 6, 2008 11:41 AM, Martin Desruisseaux <[EMAIL PROTECTED]> wrote: > Simone Giannecchini a écrit : > > I have created the utf resource file in my dir which is called > > a.b.c.i18n, now from my code if I do > > System.out.println(Errors.format(ErrorKeys.TEST)); > > where ErrorKeys was defined

Re: [Geotools-devel] GeoTools and internationalization

2008-02-06 Thread Martin Desruisseaux
Simone Giannecchini a écrit : > I have created the utf resource file in my dir which is called > a.b.c.i18n, now from my code if I do > System.out.println(Errors.format(ErrorKeys.TEST)); > where ErrorKeys was defined by me in a.b.c.i18n, I get the error > message which is instead located into the E

Re: [Geotools-devel] GeoTools and internationalization

2008-02-06 Thread Simone Giannecchini
On Feb 6, 2008 11:24 AM, Martin Desruisseaux <[EMAIL PROTECTED]> wrote: > Simone Giannecchini a écrit : > > The class Errors hardcodes the Class object it uses to load the > > resource bundle hence from wherever you call it it look into > > org.geotools.resources.i18n subdir. Am I right? > > Yes. >

Re: [Geotools-devel] GeoTools and internationalization

2008-02-06 Thread Martin Desruisseaux
Simone Giannecchini a écrit : > The class Errors hardcodes the Class object it uses to load the > resource bundle hence from wherever you call it it look into > org.geotools.resources.i18n subdir. Am I right? Yes. > My goal is to be able to load Errors from wherever I am... Yes it should work...

Re: [Geotools-devel] GeoTools and internationalization

2008-02-06 Thread Simone Giannecchini
On Feb 6, 2008 10:44 AM, Martin Desruisseaux <[EMAIL PROTECTED]> wrote: > Simone Giannecchini a écrit : > > it is the same approach that I quickly tried but what was not clear to > > me, is if I have to run this myself or if the class is run by the mvn > > build process. In case I run it myself as

Re: [Geotools-devel] GeoTools and internationalization

2008-02-06 Thread Martin Desruisseaux
Simone Giannecchini a écrit : > it is the same approach that I quickly tried but what was not clear to > me, is if I have to run this myself or if the class is run by the mvn > build process. In case I run it myself as it stands I get the > following error "render\src\main not found or is not a dir

Re: [Geotools-devel] GeoTools and internationalization

2008-02-06 Thread Simone Giannecchini
Thx Martin, it is the same approach that I quickly tried but what was not clear to me, is if I have to run this myself or if the class is run by the mvn build process. In case I run it myself as it stands I get the following error "render\src\main not found or is not a directory.". Hoping on some

Re: [Geotools-devel] GeoTools and internationalization

2008-02-05 Thread Martin Desruisseaux
Simone Giannecchini a écrit : > I am playig around with the internationalization classes in geotools. > I have a few quick questions for you :-) > > is there any doc available on thir internal machinery I never documented GeoTools IndexResourceBundle because I though that it would be temporary. T

[Geotools-devel] GeoTools and internationalization

2008-02-05 Thread Simone Giannecchini
Hi Martin, I am playig around with the internationalization classes in geotools. I have a few quick questions for you :-) >is there any doc available on thir internal machinery >would it be possible to have the message files distributed on a per module base instead of the actual centralized approa