@groovy.util.logging.Slf4j class I18nGrailsPlugin extends Plugin
Configures Grails' internationalisation support.
| Type | Name and description |
|---|---|
static java.lang.String |
AVAILABLE_LOCALES_ATTRIBUTEPublishes the discovered available locales to the servlet context so that views and the g:localeSelect available="true" tag can render a language selector. |
java.lang.String |
baseDir |
java.lang.String |
version |
java.lang.String |
watchedResources |
| Properties inherited from class | Properties |
|---|---|
class Plugin |
applicationContext, artefacts, environment, grailsApplication, plugin, pluginManager |
| Constructor and description |
|---|
I18nGrailsPlugin() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
doWithApplicationContext() |
|
protected boolean |
isChildOfFile(java.io.File child, java.io.File parent) |
|
void |
onChange(java.util.Map<java.lang.String, java.lang.Object> event) |
| Methods inherited from class | Name |
|---|---|
class Plugin |
beanRegistrar, beans, doWithApplicationContext, doWithDynamicMethods, doWithSpring, doWithSpring, getApplicationContext, getConfig, getManager, onChange, onConfigChange, onShutdown, onStartup, setApplicationContext |
Publishes the discovered available locales to the servlet context so that views and the
g:localeSelect available="true" tag can render a language selector. Reading a servlet
context attribute keeps consumers decoupled from this module.