Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.forms.layout.io
Class TranslationHelper

java.lang.Object
  extended by org.nuxeo.ecm.platform.forms.layout.io.TranslationHelper

public class TranslationHelper
extends Object

Helper to manage labels translation using the default web message bundles

Since:
5.4.3
Author:
Tiry (tdelprat@nuxeo.com)

Constructor Summary
TranslationHelper()
           
 
Method Summary
static String getTranslation(String key, String lang)
           
static net.sf.json.JSONObject getTranslations(net.sf.json.JSONObject labels, String lang)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslationHelper

public TranslationHelper()
Method Detail

getTranslation

public static String getTranslation(String key,
                                    String lang)

getTranslations

public static net.sf.json.JSONObject getTranslations(net.sf.json.JSONObject labels,
                                                     String lang)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.