bjsion / tongue-tied

Translation and resource management tool
1 stars 0 forks source link

Problem with locating ResourceBundle locale en_US in classpath #91

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Version Info
TongueTied: 1.3.2
OS: WinXP
Java: 1.6
Browser: IE Explorer/Firefox
DB: MySQL

What steps will reproduce the problem?
1. Starting Tonguetied server

What is the expected output? What do you see instead?
I expected no warning in the log window, but I see some warnings about the 
resource en_US during startup, see below.

WARN [btpool0-17] 
org.springframework.context.support.ResourceBundleMessageSource - 
ResourceBundle [classpath:/org/springframework/security/messages] not 
found for MessageSource: Can't find bundle for base name 
classpath:/org/springframework/security/messages, locale en_US

WARN [btpool0-18] 
org.springframework.context.support.ResourceBundleMessageSource - 
ResourceBundle [classpath:/org/springframework/security/messages] not 
found for MessageSource: Can't find bundle for base name 
classpath:/org/springframework/security/messages, locale en_US

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by renewess...@live.nl on 21 Jan 2010 at 9:26

GoogleCodeExporter commented 9 years ago
Hi Rene,

This is not really a bug per se. The warning happens when one of the libraries
TongueTied uses (Spring Security) tries to locate a resource (messages) based 
on your
JVM's locale. When it doesn't find one based on the locale it drops back to the
default, hence the warning message. Still, I will look to find a solution to 
this,
but I am treating this as a low priority. Let me know if you think other wise.

Cheers,
Ben

Original comment by bjs...@gmail.com on 24 Jan 2010 at 2:37

GoogleCodeExporter commented 9 years ago

Original comment by bjs...@gmail.com on 24 Jan 2010 at 2:37