There are a set of rules defined within java for both the search path and 
naming conventions for resources (in this case languages). Here's a link which 
may help you out: http://java.sun.com/j2se/1.4.2/docs/api/java/util/Locale.html

David

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Steiniger
Sent: January 16, 2007 1:42 PM
To: List for discussion of JPP development and use.
Subject: Re: [JPP-Devel] R: Problem with internationalization???

jep.. could make sense.
In that case the language files were not included in your jar file (if 
you unzip the workbench jar is a language folder inside with the files)

stefan

Sunburned Surveyor schrieb:
> Thanks Stefan.
>  
> I'm no expert at internationalization. But the problem seemed to be 
> fixed when I copied the languages folder to the proper location in my 
> OpenJUMP source code directory.
>  
> Does this make sense to you?
>  
> The Sunburned Surveyor
> 
>  
> On 1/16/07, *Stefan Steiniger* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
>     the US local does not exists.
>     Therefore you need to specify the command line argument which starts
>     with "default" english only:
>     -i18n en
> 
>     we can add such a locale file but is not that a good idea, since this
>     would mean to add for every language the locale characteristics files
>     (e.g. for Spanish this would be quite a lot)
> 
>     stefan
> 
>     Sunburned Surveyor schrieb:
>      > Thanks Paolo.
>      >
>      > I can probably figure it out with that information.
>      >
>      > The Sunburned Surveyor
>      >
>      >
>      > On 1/15/07, *P.Rizzi Ag.Mobilità Ambiente* <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>      > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
>      >
>      >     Looking back inside " jump-workbench-1.0.1.jar" from OpenJUMP
>     1.0.1
>      >     I can see a "language" directory with a few .properties
>     files, and
>      >     one of them
>      >     is "jump_en.properties".
>      >     If this file is missing from the JAR you are creating, that's
>      >     probably why you're getting this exception.
>      >
>      >     Bye
>      >     Paolo Rizzi
>      >
>      >
>      >         -----Messaggio originale-----
>      >         *Da:* [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>      >         <mailto:[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>>
>      >         [mailto: [EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>
>      >         <mailto:[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>>]*Per
>      >         conto di *Sunburned Surveyor
>      >         *Inviato:* lunedì 15 gennaio 2007 16.53
>      >         *A:* List for discussion of JPP development and use.
>      >         *Oggetto:* [JPP-Devel] Problem with internationalization???
>      >
>      >         Hey guys.
>      >
>      >         I'm trying to correctly build OpenJUMP with Ant and then
>     run it
>      >         on my Linux box. I'm having some trouble getting the JAR file
>      >         for OpenJUMP to execute, and I think it is because I'm
>     missing
>      >         some internationalization files in the JAR file that Ant puts
>      >         together. I was hoping that some of you guys that are more
>      >         experienced with Java internationalization might be able
>     to give
>      >         some assistance with this.
>      >
>      >         Here is the exception message:
>      >
>      >         exception in thread "main"
>     java.lang.ExceptionInInitializerError
>      >                 at
>      >        
>     
> com.vividsolutions.jump.workbench.JUMPWorkbench.<clinit>(JUMPWorkbench.java:82)
>      >         Caused by: java.util.MissingResourceException: Can't find
>     bundle
>      >         for base name language/jump, locale en_US
>      >                 at
>      >        
>     
> java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
>      >                 at java.util.ResourceBundle.getBundleImpl
>      >         (ResourceBundle.java :805)
>      >                 at
>      >         java.util.ResourceBundle.getBundle(ResourceBundle.java:549)
>      >                 at
>     com.vividsolutions.jump.I18N.<clinit>(I18N.java:101)
>      >                 ... 1 more
>      >
>      >         Do you guys have any ideas?
>      >
>      >         Thanks,
>      >
>      >         The Sunburned Surveyor
>      >
>      >
>      >    
>     -------------------------------------------------------------------------
> 
>      >     Take Surveys. Earn Cash. Influence the Future of IT
>      >     Join SourceForge.net 's Techsay panel and you'll get the
>     chance to
>      >     share your
>      >     opinions on IT & business topics through brief surveys - and
>     earn cash
>      >    
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>      >     <
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>>
>      >
>      >     _______________________________________________
>      >     Jump-pilot-devel mailing list
>      >     Jump-pilot-devel@lists.sourceforge.net
>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
>      >     <mailto:Jump-pilot-devel@lists.sourceforge.net
>     <mailto:Jump-pilot-devel@lists.sourceforge.net>>
>      >     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>      >     <https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel>
>      >
>      >
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      >
>     -------------------------------------------------------------------------
>      > Take Surveys. Earn Cash. Influence the Future of IT
>      > Join SourceForge.net's Techsay panel and you'll get the chance to
>     share your
>      > opinions on IT & business topics through brief surveys - and earn
>     cash
>      >
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Jump-pilot-devel mailing list
>      > Jump-pilot-devel@lists.sourceforge.net
>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
>      > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
>     -------------------------------------------------------------------------
>     Take Surveys. Earn Cash. Influence the Future of IT
>     Join SourceForge.net 's Techsay panel and you'll get the chance to
>     share your
>     opinions on IT & business topics through brief surveys - and earn cash
>     http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>     
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
>     _______________________________________________
>     Jump-pilot-devel mailing list
>     Jump-pilot-devel@lists.sourceforge.net
>     <mailto:Jump-pilot-devel@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to