Class LocalizationConfig

java.lang.Object
org.cxbox.core.config.LocalizationConfig

@EnableConfigurationProperties(org.cxbox.api.config.CxboxLocalizationProperties.class) public class LocalizationConfig extends Object
  • Constructor Details

    • LocalizationConfig

      public LocalizationConfig()
  • Method Details

    • localeResolver

      @Bean(name="localeResolver") public org.springframework.web.servlet.LocaleResolver localeResolver(org.cxbox.api.service.session.CoreSessionService coreSessionService, org.cxbox.api.service.LocaleService localeService)
    • localeService

      @Bean(name="localeService") public org.cxbox.api.service.LocaleService localeService(org.cxbox.api.config.CxboxLocalizationProperties cxboxLocalizationProperties)
    • translationService

      @Bean public TranslationService translationService(org.cxbox.api.service.LocaleService localeService)