com.softicar.platform.common.core.i18n.ILanguageTranslator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform-common Show documentation
Show all versions of platform-common Show documentation
The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.
package com.softicar.platform.common.core.i18n;
/**
* Common interface of translation engines.
*
* @author Oliver Richers
*/
public interface ILanguageTranslator {
/**
* Translates the specified text.
*
* @param language
* the destination language
* @param text
* the text to translate, never null
* @return the text translated into the destination language, never null
*/
String translate(LanguageEnum language, String text);
}