Class TranslationConfiguration
java.lang.Object
org.craftercms.studio.model.config.TranslationConfiguration
Holds the configuration for translations
- Since:
- 4.0.0
- Author:
- joseross
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe code of the default locale for all new contentThe list of codes for the supported locales -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDefaultLocaleCode(String defaultLocaleCode) voidsetLocaleCodes(List<String> localeCodes)
-
Field Details
-
defaultLocaleCode
The code of the default locale for all new content -
localeCodes
The list of codes for the supported locales
-
-
Constructor Details
-
TranslationConfiguration
public TranslationConfiguration()
-
-
Method Details
-
getDefaultLocaleCode
-
setDefaultLocaleCode
-
getLocaleCodes
-
setLocaleCodes
-