languager-core

Extract i18n strings from a project's source code

License

License

GroupId

GroupId

guru.nidi.languager
ArtifactId

ArtifactId

languager-core
Last Version

Last Version

1.2.3
Release Date

Release Date

Type

Type

jar
Description

Description

languager-core
Extract i18n strings from a project's source code

Download languager-core

How to add to project

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

Dependencies

compile (7)

Group / Artifact Type Version
org.codehaus.plexus : plexus-utils jar 3.0.8
org.springframework : spring-core jar 3.2.3.RELEASE
org.apache.httpcomponents : httpclient jar 4.2.3
org.eclipse.jetty : jetty-server jar 9.1.1.v20140108
com.fasterxml.jackson.core : jackson-databind jar 2.1.4
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

There are no modules declared in this project.

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