From version < 2.1 >
edited by gru
on 08.03.2019, 16:43
To version < 4.1
edited by fse
on 15.07.2021, 11:55
<
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -$services.localization.render("PT.Main.Internationalisierung")
1 +Internationalization
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.gru
1 +XWiki.fse
Content
... ... @@ -1,30 +1,29 @@
1 1  Forms support internationalization and can be translated into multiple languages.
2 2  
3 -{{figure image="internat_en.png"}}
3 +{{figure image="designer_i18n_languages_en.png"}}
4 4  The form can be edited separately for each language. When there is no translation available for a certain language, the default language is used.
5 5  {{/figure}}
6 6  
7 -Click on the language bar to the top left and select the language you would like to edit.
7 +The current language is shown in the toolbar at the bottom of the designer. To change the language to wish to edit, click on the language. This brings up a list of all available languages.
8 8  
9 -When you select any language other than the default language, only the properties of each form field that can be translated appear in the options panel on the right-hand side of the {{designer/}}.
9 +When you select any language other than the default language, only the properties of each form field that can be translated appear in the properties panel on the right-hand side of the {{designer/}}. All other non-localizable properties such as whether a field is a required field or whether it is visible are available only for the default language.
10 10  
11 -All other non-localizable properties such as whether a field is a required field or whether it is visible are available only for the default language.
11 +== Default language (fallback) ==
12 12  
13 -== Default language (//fallback//) ==
13 +The default language is the language the form was originally created for. When no translation exists for a certain language, the default language will be used.
14 14  
15 -The default language is the language the form was originally created for. When no translation exists for a certain language, the default language will be used.
16 -
17 17  == Opening a form in a particular language version ==
18 18  
19 -When opening a form, the system first checks whether there is an appropriate language version of the form for the default language of the operating system or browser and displays the form in that language To force a certain language version, specify the desired language as the URL parameter //lang//.
17 +When opening a form, the system first checks whether there is an appropriate language version of the form for the default language of the operating system or browser and displays the form in that language. To force a certain language version, specify the desired language as the URL parameter //lang//.
20 20  
21 -{{panel type="info" title="URL parameter for German"}}
22 -The following example illustrates how to open a form with the ID 150 in German.
23 -{{code}}
24 -http://domain/formcycle/form/provide/150?lang=de
25 -{{/code}}
19 +{{panel title="URL parameter for English"}}
20 +Use the following URL to open the form with the ID 150 in English: {{code language="none"}}http://domain/formcycle/form/provide/150?lang=en{{/code}}
26 26  {{/panel}}
27 27  
28 28  == Deleting values ==
29 29  
30 -When you do not want to show a help message for a certain language, you can enter {{code}}(empty){{/code}} as the help text. This will remove the help icon and no help message will appear.
25 +When you do not want to show a help message for a certain language, you can enter {{code language="none"}}(empty){{/code}} as the help text. This will remove the help icon and no help message will appear.
26 +
27 +== Editing error message ==
28 +
29 +To change the error messages such as those that are shown when a required field was not filled out or when an invalid email address was entered, edit the global [[i18n variables template>>doc:Formcycle.UserInterface.FilesAndTemplates.I18nVariables]].
Copyright 2000-2024