jhorstmann / i18n Goto Github PK
View Code? Open in Web Editor NEWGettext based framework for i18n in Java and JSF applications
License: GNU Lesser General Public License v3.0
Gettext based framework for i18n in Java and JSF applications
License: GNU Lesser General Public License v3.0
WebMessageExtractor can't extract key from jsf code where use [1-N] function defined in i18n.taglib.xml of i18n-jsf subproject.
Example
LocaleProvider
and ResourceBundleProvider
and required filesHow to generate the .pot file?
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?
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
Please, I believe the project could get more interest if a repo existed:
Here's a procedure about how to proceed:
http://jroller.com/holy/entry/releasing_a_project_to_maven
http://blog.sonatype.com/2010/01/how-to-generate-pgp-signatures-with-maven/#.VF_mcPmG8b0
edit: Removed old links.
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.
Hi.
I am trying to use iso-codes po files to translate iso3166 code into various languages but when a run mvn i18n:dist it failes with error Couldnot parse header entry: [email protected]>
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.