public class LocalizationModule
extends AbstractModule
The localization module offers localization similar to the default GWT i18n implementation, but server side.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_FILE |
static java.lang.String |
USER_LOCAL_PROPERTY_NAME |
Constructor and Description |
---|
LocalizationModule() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
provideDefaultLocale(<any> authenticatorServiceProvider,
<any> userPropertiesServiceProvider) |
java.lang.String |
provideDefaultLocale(ConfigService configService) |
java.util.Collection<java.lang.String> |
provideLocales(ConfigService configService,
RemoteMessageService remoteMsgService) |
public static final java.lang.String CONFIG_FILE
public static final java.lang.String USER_LOCAL_PROPERTY_NAME
public java.lang.String provideDefaultLocale(ConfigService configService)
public java.util.Collection<java.lang.String> provideLocales(ConfigService configService, RemoteMessageService remoteMsgService)
public java.lang.String provideDefaultLocale(<any> authenticatorServiceProvider, <any> userPropertiesServiceProvider)