All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iiifi.kite.boot.properties.KiteLocaleProperties Maven / Gradle / Ivy

package com.iiifi.kite.boot.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 异步配置
 * @author [email protected] 花朝
 * @date 2018/8/18 12:59
 */
@Getter
@Setter
@RefreshScope
@ConfigurationProperties("kite.locale")
public class KiteLocaleProperties {

	/**
	 * 国际化cookie name,默认:Kite-LANG
	 */
	private String cookieName = "Kite-LANG";
	/**
	 * 国际化参数名,默认:language
	 */
	private String paramName = "language";
	/**
	 * 默认的语言,默认:zh
	 */
	private java.util.Locale defaultLocale = java.util.Locale.SIMPLIFIED_CHINESE;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy