org.olat.core.util.i18n.ui
Class I18nUIFactory

java.lang.Object
  extended by org.olat.core.util.i18n.ui.I18nUIFactory

public class I18nUIFactory
extends java.lang.Object

Description:

Use this factory to create controllers and GUI elements for translating your webapp

Initial Date: 24.09.2008

Author:
Florian Gnaegi, frentix GmbH, http://www.frentix.com

Constructor Summary
I18nUIFactory()
           
 
Method Summary
static org.olat.core.util.i18n.ui.I18nConfigController createI18nConfigurationController(UserRequest ureq, WindowControl windowControl)
          Creates a controller to configure the i18n system, add or remove languages
static InlineTranslationInterceptHandlerController createInlineTranslationIntercepHandlerController(UserRequest ureq, WindowControl windowControl)
          Creates an intercept handler and inline translation dispatch controller that can be used to intercept the rendering process and add inline translation start links to (almost) every translated item.
static Controller createTranslationToolLauncherController(UserRequest ureq, WindowControl windowControl)
          Creates a controller that offers a panel for translators.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18nUIFactory

public I18nUIFactory()
Method Detail

createTranslationToolLauncherController

public static Controller createTranslationToolLauncherController(UserRequest ureq,
                                                                 WindowControl windowControl)
Creates a controller that offers a panel for translators. On the panel, translators can launch the translation tool in a new window and modify some settings.

Parameters:
ureq -
windowControl -
Returns:

createInlineTranslationIntercepHandlerController

public static InlineTranslationInterceptHandlerController createInlineTranslationIntercepHandlerController(UserRequest ureq,
                                                                                                           WindowControl windowControl)
Creates an intercept handler and inline translation dispatch controller that can be used to intercept the rendering process and add inline translation start links to (almost) every translated item.

Parameters:
ureq -
windowControl -
Returns:

createI18nConfigurationController

public static org.olat.core.util.i18n.ui.I18nConfigController createI18nConfigurationController(UserRequest ureq,
                                                                                                WindowControl windowControl)
Creates a controller to configure the i18n system, add or remove languages

Parameters:
ureq -
windowControl -
Returns: