<
From version < 4.1 >
edited by Outhman Moustaghfir
on 2024/01/18 10:25
To version < 7.2 >
edited by Outhman Moustaghfir
on 2024/02/21 10:54
>
Change comment: Update document after refactoring.

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -iXPath V3.Funcitons.WebHome
1 +iXPath V3.Funcitons.tracking.WebHome
Content
... ... @@ -1,6 +1,6 @@
1 1  == Overview ==
2 2  
3 -The **Translate **function is a powerful tool designed to retrieve translations for a specified alias and scope in multiple languages. This function simplifies the process of obtaining translations within XSLT expressions.
3 +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.
4 4  
5 5  === Usage ===
6 6  
... ... @@ -27,6 +27,14 @@
27 27  * Ensure that the specified alias and scope exist in the translation database to receive accurate results.
28 28  * Check and use the correct language code for the desired translation.
29 29  
30 -= Example =
30 += Example =
31 31  
32 -
32 +[[image:1705570978152-850.png]]
33 +
34 +
35 +{{code language="XML"}}
36 +<xsl:value-of select="ixf:Translate('MyAlias','MyScope','es')"></xsl:value-of>
37 +
38 +{{/code}}
39 +
40 +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**"
1705570978152-850.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.omoustaghfir
Size
... ... @@ -1,0 +1,1 @@
1 +12.1 KB
Content
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian