public class TranslatorUtil {
public static Translation getTranslation(
String translationId, String fromText) {
WebCacheable wc = new TranslationConverter(translationId, fromText);
return (Translation)WebCachePool.get(
"translator." + translationId + "|" +
Base64.objectToString(fromText),
wc);