This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ResourceBundle file name problem

 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

i try to be able to use many language for a application

i will read language and country from a properties.... for the example i hardcoded ...



the file name is: MyRessources_en_US


i get the error:
ception in thread "AWT-EventQueue-0" java.util.MissingResourceException: Can't find bundle for base name MyResources, 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:576)

any idea?

thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the file name is: MyRessources_en_US

You mean MyResources_en_US.properties ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic