LibreTranslate Java Library

1 Like

I forked the library and fixed some problems but the original library author seems busy and didn’t accepted my PRs. Could you make the library available on the official github LibtreTranslate organization profile? I can transfer my stokito/libretranslate-java to your org or you can just fork it.
Then it would be ideal to make a release to the Maven Central.

If anyone wants to use my fork, you can use the jar from JitPack:
Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Step 2. Add the dependency

	<dependency>
	    <groupId>com.github.stokito</groupId>
	    <artifactId>libretranslate-java</artifactId>
	    <version>v1.2.1</version>
	</dependency>
1 Like

Thanks @stokito, I’ve updated the docs to point to your fork since it looks like the original author no longer actively maintains it.

I’ve been debating whether we should offer the possibility to have “official” language bindings / libraries for various languages under the LibreTranslate org on GitHub, I feel like we would be making a commitment to provide long term support if we did. So far the dev community has been pretty good about self-managing and providing links to these projects in the docs has been working decently well as a discovery mechanism.

Ok, then may I just put my fork under umbrella of the org? I may disappear and then you may just assign another person as a maintainer. Ideally you may make a security audit before a tagging a release so that text is not sent to outside.

@pierotofy If you want to transfer any of my language bindings to the official LibreTranslate GitHub let me know.

I’ve been maintaining all of them but they don’t need to be changed or updated too regularly. The Python one LibreTranslate-py is pretty widely used.

2 Likes