Specify the server's default locale when creating the MessageManager.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2023 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
package com.samskivert.velocity;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.Properties;
|
||||
|
||||
import javax.servlet.ServletConfig;
|
||||
@@ -153,7 +154,7 @@ public class Application
|
||||
*/
|
||||
protected MessageManager createMessageManager (String bundlePath)
|
||||
{
|
||||
return new MessageManager(bundlePath, null, _siteIdent);
|
||||
return new MessageManager(bundlePath, Locale.getDefault(), _siteIdent);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user