Giter VIP home page Giter VIP logo

pentaho-det-i18n-resources's Introduction

i18n Resources Bundle Sample

Description

This project describes a sample OSGI bundle with localization resources contributions/updates (this sample was based on the pentaho-det project - https://github.com/pentaho/pentaho-det) The properties files should be in the src/main/resources/i18n folder. You can specify a folder structure inside the main i18n folder, which will represent the key for the properties file: e.g.: src/main/resources/i18n/sub1/sub2/message.properties correspondes to the key sub1.sub2.messages To specify the properties file language use the java standard: <YOUR_PROPERTIES>.properties - Default properties file; <YOUR_PROPERTIES>_en.properties - EN properties file; <YOUR_PROPERTIES>_pt_PT.properties - PT Portugal properties file; To update or fix existing properties files that already exist in the system you should specify a priority for the file. The priority is specified in the file name, in the format .properties. where priority is a numeric value. For instance, if you wish to update a properties file messages.properties that exists in the system, the bundle should contain in the same folder structure as the system, a file with the name messages.properties.2.

Building

$: mvn clean package

Installing

  1. Copy the generated jar file to the karaf/deploy folder which will automatically trigger the install. Note: The karaf system shouldhave the pentaho-i18n-bundle installed

pentaho-det-i18n-resources's People

Contributors

marcoslarsen avatar

Watchers

 avatar  avatar

Forkers

vflsa

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.