Modifier and Type | Class and Description |
---|---|
static class |
I18nConfig.CacheConfig |
Constructor and Description |
---|
I18nConfig() |
Modifier and Type | Method and Description |
---|---|
I18nConfig |
addAdditionalLocales(String... additionalLocales) |
I18nConfig.CacheConfig |
cacheConfig() |
List<String> |
getAdditionalLocales() |
boolean |
isAllowMissingTranslations()
The flag allowMissingTranslation is true by default.
|
boolean |
isTranslationFallback()
The translationFallback flag is false by default.
|
I18nConfig |
setAllowMissingTranslations(boolean allowMissingTranslations) |
I18nConfig |
setTranslationFallback(boolean translationFallback) |
public boolean isTranslationFallback()
public I18nConfig setTranslationFallback(boolean translationFallback)
public boolean isAllowMissingTranslations()
public I18nConfig setAllowMissingTranslations(boolean allowMissingTranslations)
public I18nConfig addAdditionalLocales(String... additionalLocales)
public I18nConfig.CacheConfig cacheConfig()
Copyright © 2013-2018–2019 SeedStack. All rights reserved.