getLocalizedText function

String getLocalizedText(
  1. String text
)

Implementation

String getLocalizedText(
    String text
    )
{
    if ( isMultilingualText( text ) )
    {
        return getTranslatedText( text, '$languageCode-$countryCode-$continentCode' );
    }
    else
    {
        return text;
    }
}