TranslationAPI

Welcome to TranslationAPI!

This plugin allow other plugins to translate everything to server language, all online with auto translation system using google and save system for only one time translation, other requests will get from saved strings.

This plugin do nothing alone!! As API, should be used for other plugin to work!!

All translated text will be saved on file or on mysql(untested) to be used later if requested. using commands you can translate all minecraft items and entities as a cache, and fix translations before use (as a Google translation, is not 100 accurate).


Plugins using this API:

 

Commands:

Theres only one permission for commands: 
translationapi.command

trapi reload - Reload the plugin
trapi translate-items - Translate all item to server language and save
trapi translate-entities - Translate all entities to server language and save


Configuration:

system-language: pt-br
database: file
mysql:
  host: localhost
  port: '3306'
  database: TranslationApi
  username: root
  password: '1234'
  prefix: langApi_

  

Maven repository:
Repository:

<repositories>
  <repository>
   <id>TranslationAPI-repo</id>
 <url>https://raw.githubusercontent.com/FabioZumbi12/TranslationAPI/mvn-repo/</url>
  </repository>
</repositories>

Dependency:

<dependencies>
  <dependency>
   <groupId>br.net.fabiozumbi12</groupId>
   <artifactId>TranslationAPI</artifactId>
   <version>LATEST</version>
   <scope>provided</scope>
  </dependency> 
</dependencies>

 
Dev builds:
Available on jenkins:
[​IMG]

Source:
The source is available on GitHub: https://github.com/FabioZumbi12/TranslationAPI

WIKI and usage:
Click here to go to wiki and see the methods and usage examples: WIKI


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    337142
  • Created
    Aug 23, 2019
  • Last Released File
    Aug 23, 2019
  • Total Downloads
    236
  • License

Categories

Members

Recent Files