<
From version < 3.1 >
edited by Outhman Moustaghfir
on 2024/01/18 10:24
To version < 2.1 >
edited by Outhman Moustaghfir
on 2024/01/18 10:21
>
Change comment: Uploaded new attachment "1705569683837-748.png", version {1}

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,0 @@
1 -Translate
Parent
... ... @@ -1,1 +1,0 @@
1 -iXPath V3.Funcitons.WebHome
Content
... ... @@ -1,30 +1,0 @@
1 -== Overview ==
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.
4 -
5 -=== Usage ===
6 -
7 -{{code language="XML"}}
8 -<xsl:value-of select="ixf:Translate('alias','scope','es')"/>
9 -
10 -{{/code}}
11 -
12 -=== Parameters ===
13 -
14 -* 'alias': The unique identifier or alias you want to translate.
15 -* 'scope': The context or domain in which the translation is relevant.
16 -* 'language': The desired language for the translation (e.g., 'fr' for French, 'en' for English, 'es' for Spanish).
17 -
18 -== Language Codes ==
19 -
20 -* 'fr': French
21 -* 'en': English
22 -* 'es': Spanish
23 -
24 -== Notes ==
25 -
26 -* The Translate function supports translations in French, English, and Spanish.
27 -* Ensure that the specified alias and scope exist in the translation database to receive accurate results.
28 -* Check and use the correct language code for the desired translation.
29 -
30 -Example
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian