ISML Function - localizeTextEx()



Short Description

returns the plain text behind a given language neutral key

Table of Contents

Product Version


Product To Version


StatusNew Labels


These functions are used to localize an attribute value of a (possibly custom) ISML tag. For that purpose localizeTextEx() returns the plain text behind a given language neutral key.


The following variations of the localizeTextEx() function are possible:

localizeTextEx(key : String, ParameterList(params ... : Object)) : String
localizeTextEx(key : String, locale : String, ParameterList(params ... : Object)) : String
localizeTextEx(key : String, locale : String, site : Domain, ParameterList(params ... : Object)) : String


<ISMessageBox message="#localizeText('product.delete.ok.cancel', 'en_GB')#"
  subject="page" type="mdc" okbtnname="#localizeText('button.delete')#"
  cancelbtnname="#localizeText('button.cancelDelete')#" colspan="1">
<ISMessageBox message="#localizeTextEx('', ParameterList(Product:sku))#"
  subject="page" type="mdc" okbtnname="#localizeText('button.ok')#" colspan="1">


The function accepts the following arguments:


key = string
a unique key for a translation


locale = string
an optional parameter to get the translation in a specific locale


site = string
an optional parameter indicating for which site the translated text should be presented


params = string
In contrast to localizeText()the localizeTextEx() function supports another parameter named params that can be assigned an array of Objects to be injected into the translation.

Reference - ISML Functions


The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

The Intershop Customer Support website uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties.

Further information on privacy can be found in the Intershop Privacy Policy and Legal Notice.
Customer Support
Knowledge Base
Product Resources