From version < 4.1
edited by fse
on 15.07.2021, 11:55
To version < 3.1 >
edited by gru
on 25.03.2019, 12:12
<
Change comment: Copied from xwiki:Main.FormDesigner.Internationalization

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.fse
1 +XWiki.gru
Content
... ... @@ -1,29 +1,30 @@
1 1  Forms support internationalization and can be translated into multiple languages.
2 2  
3 -{{figure image="designer_i18n_languages_en.png"}}
3 +{{figure image="internat_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 -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.
7 +Click on the language bar to the top left and select the language you would like to edit.
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 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.
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/}}.
10 10  
11 -== Default language (fallback) ==
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.
12 12  
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.
13 +== Default language (//fallback//) ==
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 +
15 15  == Opening a form in a particular language version ==
16 16  
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//.
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//.
18 18  
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}}
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}}
21 21  {{/panel}}
22 22  
23 23  == Deleting values ==
24 24  
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]].
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.
Copyright 2000-2024