This module uses IBM's Watson Translator API. It requires registration for an API Key, but it requires no credit card or payment info and is free up to 1 million characters per month.
Reads two properties from ghost.properties:
ibmwatsontranslator.key, for the API key
ibmwatsontranslator.url, for the API endpoint
Registration process and property usage is documented in the module's javadoc, but should ideally be documented in the wiki for end users.
Usage is documented in the module's description.
Sorry for the messy PR. I don't know why ModuleDefine shows up in there. All that is needed is the update of the line containing javax annotations in build.gradle plus ModuleTranslate and module-info.java.
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation (adds or revises project documentation)
Changelist
ghost.properties
:ibmwatsontranslator.key
, for the API keyibmwatsontranslator.url
, for the API endpointdescription
.Sorry for the messy PR. I don't know why
ModuleDefine
shows up in there. All that is needed is the update of the line containingjavax
annotations inbuild.gradle
plusModuleTranslate
andmodule-info.java
.Type of change
Local configuration: