ValidateThis API Documentation

ValidateThis.core
Class RBTranslator

WEB-INF.cftags.component
        extended by ValidateThis.core.BaseTranslator
            extended by ValidateThis.core.RBTranslator

public class RBTranslator
extends BaseTranslator

I use Resource Bundles to translate text.


Constructor Summary
init(any RBLocaleLoader, struct localeMap, string defaultLocale)
          I build a new Translator
 
Method Summary
 any translate(Any translateThis, [Any locale='[runtime expression]'])
          I translate text
 
Methods inherited from class ValidateThis.core.BaseTranslator
getDefaultLocale, getLocales, safeKey
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(any RBLocaleLoader, struct localeMap, string defaultLocale)
I build a new Translator

Parameters:
RBLocaleLoader
localeMap
defaultLocale
Method Detail

translate

public any translate(Any translateThis, [Any locale='[runtime expression]'])
I translate text

Overrides:
translate in class BaseTranslator
Parameters:
translateThis
locale

ValidateThis API Documentation