Potentilla allows you to parse (using an ANTLR-based parser), manipulate, create and write .po and .pot files.
Potentilla is based on a fork of JGettext library.
Here’s how you can include this library in your Java project:
<!-- Add the dependency -->
<dependency>
<groupId>com.soberlemur</groupId>
<artifactId>potentilla</artifactId>
<version>version</version>
</dependency>