valueforLocalizerKey

Available for: Content Management Server, Template Engine

Task: Retrieves a string from the localizers system configuration entry, localized in the user’s language.

Additional information: The localizers key has been removed from the system configuration in Infopark CMS Fiona 6. In wizards, strings can be localized by means of variables. See the wizards supplied with the CMS.

Syntax:

valueForLocalizerKey key [category]

Function parameters:

  • key is the name of the key whose language-specific value is to be returned.
  • category is the name of a category contained in the localizers element.

Return value if successful: the localized string.

Necessary permissions (CM only): no restrictions.

Example:

CM>valueForLocalizerKey myKey myCategory
The value of myKey in my language from myCategory