All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softicar.platform.common.core.i18n.IdentityLanguageTranslator Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.core.i18n;

/**
 * This is the identity language translator.
 * 

* The texts to be translated are returned as-is by the implementation. * * @author Oliver Richers */ public class IdentityLanguageTranslator implements ILanguageTranslator { private static IdentityLanguageTranslator singleton = new IdentityLanguageTranslator(); /** * Returns a reference to the singleton instance of this class. */ public static IdentityLanguageTranslator get() { return singleton; } /** * Returns the given text without modification. *

* The language parameter is ignored by this method. */ @Override public String translate(LanguageEnum language, String text) { return text; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy