Skip to content

akimd/gettext

 
 

Repository files navigation

gettext

Continuous Integration

GNU gettext Internationalization (i18n) for Java-based video games/applications

Usage

Java Library

The Java libary provides classes for reading .po files and accessing translations. See the wiki for a usage guide.

Javadoc can be found here

Gradle

compile "org.mini2Dx:gettext-lib:1.11.0"

Maven

<dependency>
    <groupId>org.mini2Dx</groupId>
    <artifactId>gettext-lib</artifactId>
    <version>1.11.0</version>
</dependency>

Gradle Plugin

The Gradle plugin can parse files and generate a .pot based on the source code.
See the wiki for a usage guide.

Purpose

This implementation uses only a single dependency (antlr4-runtime) and avoids usage of reflection and ResourceBundle to allow for cross-compilation to o ther platforms. Though made for video games, it is possible to use it any Java-based application. The parser is implemented as an ANTLR grammar so it is also possible to compile it to other languages.

About

GNU gettext Internationalization (i18n) for Java-based video games/applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 75.0%
  • ANTLR 20.6%
  • Groovy 3.6%
  • Lua 0.8%