Coder Social home page Coder Social logo

i18n's People

Contributors

afischer211 avatar jhorstmann avatar michelepra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

i18n's Issues

Improve documentation

  • Describe setup in a desktop application
  • Describe default implementation of LocaleProvider and ResourceBundleProvider and required files
  • Show maven plugin configuration

java 8 compatibility and library upgrade

xgettext can't extract data from class that is compiled with java 8
You must upgrade asm at least at version 5.0.1 ad adjust code of i18n-xgettext-asm subproject.
And if you can, there is an newer versione of jgettext

Any documentation of this library available?

I am interesting this library. but I can't find the documentation that mention about usage of this. I found the interesting issued but I still can't find the way to generate the .po files. Can anyone guide me about the basic usage of this or provide me the link to documentation?

Project License

Hi there,
I known this project is still running on a early 1.0-SNAPSHOT version, but I would to known if there is any kind of thought for adopting a "commercial-friendly" license such as Apache, LGPL or MIT?
Thank you

Add a i18n-sample-desktop-app

I'm trying to use this library in a desktop application, and I'm keep getting this exception:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at java.util.ResourceBundle$CacheKey.calculateHashCode(ResourceBundle.java:593)
    at java.util.ResourceBundle$CacheKey.<init>(ResourceBundle.java:522)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1259)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:1246)
    at net.jhorstmann.i18n.impl.DefaultResourceBundleProviderFactory$DefaultResourceBundleProvider.getResourceBundle(DefaultResourceBundleProviderFactory.java:21)
    at net.jhorstmann.i18n.I18N.getBundle(I18N.java:40)
    at net.jhorstmann.i18n.I18N.getBundle(I18N.java:45)
    at net.jhorstmann.i18n.I18N.tr(I18N.java:123)
    at org.sanusb.view.Main.addMenu(Main.java:105)
    at org.sanusb.view.Main.init(Main.java:88)
    at org.sanusb.view.Main.<init>(Main.java:83)
    at org.sanusb.view.Main$1.run(Main.java:63)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
    at java.awt.EventQueue.access$300(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:706)
    at java.awt.EventQueue$3.run(EventQueue.java:704)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Can you put an example so I can find what I'm doing wrong? Thanks in advance.

i18n:gettext goal doesn't work with jspx files

I just tested in the sample application provided and any new element within tr:tr such as:
< tr:tr context="blabla" > blabla </ tr:tr >

won't be send in the keys.pot, while there's no problem with xhtml files.

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.