Class TranslationConfiguration


  • public class TranslationConfiguration
    extends Object
    Holds the configuration for translations
    Since:
    4.0.0
    Author:
    joseross
    • Field Detail

      • defaultLocaleCode

        protected String defaultLocaleCode
        The code of the default locale for all new content
      • localeCodes

        protected List<String> localeCodes
        The list of codes for the supported locales
    • Constructor Detail

      • TranslationConfiguration

        public TranslationConfiguration()
    • Method Detail

      • getDefaultLocaleCode

        public String getDefaultLocaleCode()
      • setDefaultLocaleCode

        public void setDefaultLocaleCode​(String defaultLocaleCode)
      • getLocaleCodes

        public List<String> getLocaleCodes()
      • setLocaleCodes

        public void setLocaleCodes​(List<String> localeCodes)