com.github.mathieudebrito.translator.Translator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of file-translator Show documentation
Show all versions of file-translator Show documentation
Library that helps translating files
The newest version!
package com.github.mathieudebrito.translator;
import java.util.ArrayList;
import java.util.List;
public interface Translator {
public void init(Config config);
public void translate();
public class Config {
/**
* The language in which the entry is translated
*/
public Language languageFrom = Language.ENGLISH;
/**
* The language in which the entry has languageTo be translated
*/
public List languageTo = new ArrayList();
/**
* The language to be exclude from being translated
* Default : none
*/
public List excludes = new ArrayList();
/**
* The file(s) that contains the entries
*/
public List files = new ArrayList();
/**
* Google API Key
*/
public String key = null;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy