Helius
2022-08-01 8c60f2d2d2253b7fec44535892cd26a50a7c6b69
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package cc.mrbird.febs.common.configure.i18n;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.LocaleResolver;
 
 
/**
 * @author wzy
 * @date 2020-04-27 11:55
 **/
@Configuration
public class LocaleResolverConfig {
 
    @Bean
    public LocaleResolver localeResolver() {
        return new CustomLocaleResolver();
    }
}