languager

Help with i18n during compile time.

License

License

GroupId

GroupId

guru.nidi.languager
ArtifactId

ArtifactId

languager
Last Version

Last Version

1.2.3
Release Date

Release Date

Type

Type

pom
Description

Description

languager
Help with i18n during compile time.
Project URL

Project URL

https://github.com/nidi3/languager
Source Code Management

Source Code Management

https://github.com/nidi3/languager

Download languager

Filename Size
languager-1.2.3.pom 3 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/guru.nidi.languager/languager/ -->
<dependency>
    <groupId>guru.nidi.languager</groupId>
    <artifactId>languager</artifactId>
    <version>1.2.3</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/guru.nidi.languager/languager/
implementation 'guru.nidi.languager:languager:1.2.3'
// https://jarcasting.com/artifacts/guru.nidi.languager/languager/
implementation ("guru.nidi.languager:languager:1.2.3")
'guru.nidi.languager:languager:pom:1.2.3'
<dependency org="guru.nidi.languager" name="languager" rev="1.2.3">
  <artifact name="languager" type="pom" />
</dependency>
@Grapes(
@Grab(group='guru.nidi.languager', module='languager', version='1.2.3')
)
libraryDependencies += "guru.nidi.languager" % "languager" % "1.2.3"
[guru.nidi.languager/languager "1.2.3"]

Dependencies

compile (2)

Group / Artifact Type Version
org.slf4j : jcl-over-slf4j jar 1.7.7
ch.qos.logback : logback-classic jar 1.1.2

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
org.hibernate : hibernate-validator jar 4.1.0.Final

Project Modules

  • languager-core
  • languager-maven-plugin
  • languager-demo

Languager Build Status

A simple tool to handle internationalization of source code.

  • It extracts keys and default translations out of source files using regexes.
  • For each language, it generates a set of translated files where the regexes are replaced with their actual value in a given language.
  • It can generate properties files to be used by java.
  • It can perform validity checks on the translated values.
  • It provides a form of online translation directly inside the application.
  • It can check that properties files are correctly formatted.

See languager-demo module for how it works.

Versions

Version
1.2.3