Code Monkey home page Code Monkey logo

gettext-resource-bundle's Introduction

gettext-resource-bundle

This project includes a Java ResourceBundle implementation that can parse and read PO files as defined by the GNU gettext project http://www.gnu.org/software/gettext/.

The obvious question here is why would anyone even need this. The preferred approach when integrating gettext with Java is to use the msgfmt command to create Java ResourceBundles directly.

This is a fine approach, and in most production systems, this method should be used. The Use Case that this project is built around is that while developing a system, a programmer or translator may want to make changes to PO files on the fly and see there changes automatically within the system.

This project provides a ResourceBundle that can read PO files (without any dependency on the msgfmt binary), as well as a ResourceBundle.Contorl implementation that will load PO files from either the classpath or file system. When loading from the file system, the Control implementation will also reload the files as needed when changes have occured on the file system.

gettext-resource-bundle's People

Contributors

tschaible avatar eneveu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.