Cloud Starter I18n


License

License

GroupId

GroupId

com.minlia.cloud.starter
ArtifactId

ArtifactId

cloud-starter-i18n
Last Version

Last Version

2.0.0.RELEASE
Release Date

Release Date

Type

Type

jar
Description

Description

Cloud Starter I18n
Cloud Starter I18n
Source Code Management

Source Code Management

https://github.com/minlia-projects/cloud-starter-i18n

Download cloud-starter-i18n

How to add to project

<!-- https://jarcasting.com/artifacts/com.minlia.cloud.starter/cloud-starter-i18n/ -->
<dependency>
    <groupId>com.minlia.cloud.starter</groupId>
    <artifactId>cloud-starter-i18n</artifactId>
    <version>2.0.0.RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/com.minlia.cloud.starter/cloud-starter-i18n/
implementation 'com.minlia.cloud.starter:cloud-starter-i18n:2.0.0.RELEASE'
// https://jarcasting.com/artifacts/com.minlia.cloud.starter/cloud-starter-i18n/
implementation ("com.minlia.cloud.starter:cloud-starter-i18n:2.0.0.RELEASE")
'com.minlia.cloud.starter:cloud-starter-i18n:jar:2.0.0.RELEASE'
<dependency org="com.minlia.cloud.starter" name="cloud-starter-i18n" rev="2.0.0.RELEASE">
  <artifact name="cloud-starter-i18n" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.minlia.cloud.starter', module='cloud-starter-i18n', version='2.0.0.RELEASE')
)
libraryDependencies += "com.minlia.cloud.starter" % "cloud-starter-i18n" % "2.0.0.RELEASE"
[com.minlia.cloud.starter/cloud-starter-i18n "2.0.0.RELEASE"]

Dependencies

compile (7)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-web jar
org.springframework.boot : spring-boot-starter-jdbc jar
org.projectlombok : lombok Optional jar
org.apache.commons : commons-lang3 Optional jar
org.springframework.boot : spring-boot-starter-security Optional jar
com.minlia.cloud.starter : cloud-starter-context Optional jar 2.0.0.RELEASE
org.springframework.boot : spring-boot-configuration-processor Optional jar

provided (2)

Group / Artifact Type Version
org.springframework.data : spring-data-commons jar 1.13.6.RELEASE
javax.servlet : javax.servlet-api jar

test (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test Optional jar

Project Modules

There are no modules declared in this project.

国际化模块

根据系统不同语种自动返回对应的译文

Maven Central Apache License 2 Build Status Waffle.io - Columns and their card count

当缓存可用时将所有国际化值存入缓存
不可用时直接从数据库里取出,放入本地guava cache

TODO

添加parameter语言请求参数配置项

Done

Header区域请求头配置项

依赖项目

cloud-starter-context

集成到自已的项目时添加依赖项

<dependency>
  <groupId>com.minlia.cloud.starter</groupId>
  <artifactId>cloud-starter-i18n</artifactId>
  <version>2.0.0.RELEASE</version>
</dependency>
com.minlia.cloud.starter

MINLIA

Versions

Version
2.0.0.RELEASE