this.propertyResolver = new RelaxedPropertyResolver(environment, "spring.messageSource.");
}
@Bean(name = "localeResolver")
public LocaleResolver localeResolver() {
final AngularCookieLocaleResolver cookieLocaleResolver = new AngularCookieLocaleResolver();
cookieLocaleResolver.setCookieName("NG_TRANSLATE_LANG_KEY");
return cookieLocaleResolver;
}