tracking - Translate 

Page / - last modified by Outhman Moustaghfir on 2024/01/18 10:15 

Translate 
last modified by Outhman Moustaghfir
on 2024/01/18 10:15

Table of Contents
Overview
Usage
Parameters
Language Codes
Notes
Example

Overview
The Translate function is a powerful tool designed to retrieve translations for a specified alias and scope in multiple languages for IXDictionnary tracking type. This function simplifies the process of obtaining translations within XSLT expressions.
Usage
<xsl:value-of select="ixf:Translate('alias','scope','es')"></xsl:value-of>
Parameters
•	'alias': The unique identifier or alias  you want to translate.
•	'scope': The context or domain in which the translation is relevant.
•	'language': The desired language for the translation (e.g., 'fr' for French, 'en' for English, 'es' for Spanish).
Language Codes
•	'fr': French
•	'en': English
•	'es': Spanish
Notes
•	The Translate function supports translations in French, English, and Spanish.
•	Ensure that the specified alias and scope exist in the translation database to receive accurate results.
•	Check and use the correct language code for the desired translation.
Example

<xsl:value-of select="ixf:Translate('MyAlias','MyScope','es')"></xsl:value-of>
in this example we Retrieve the translation of the alias 'MyAlias' within the scope 'MyScope' in Spanish using the expression, and the result will be "Escuela"