In this article
The Panel Portal pages and texts can be made available to the respondents in any language and any number of languages. You can also make the portal language dynamic, so the portal will automatically adopt the language specified in the user details.
Adding a Language to your Portal
- In the Panel Portal toolbox, right-click on the Portal name (the top item in the toolbox) and select Properties from the menu or double-click on the Portal name.
- Click the … button beside the Portal Languages property.
- In the Available Items column, scroll to the language you wish to add to the portal, and click on it to select it. You can select as many languages as you require.
- Click the >> button to move the selected language(s) to the Selected Items column.
- Select a language in the Selected Items column and click the << button to remove that language.
- On completion, click OK.
The Properties page for the portal opens - .
Figure 1 - Example of the Properties page for a Portal
The Portal Languages window opens with the currently selected languages listed in the Selected Items column - .
Figure 2 - The Portal Languages window
The window closes and the selected languages are added to the Portal.
Note: A search facility is available in the upper part of the window. If this is not visible, click the chevron button beside Find to open it.
Text fields for the selected languages will now be available in the Portal and page Properties pages. You must now fill in the text fields for the Portal and the various pages for the languages you have selected (go to Page Properties for more information).
Making the Portal Language Dynamic
You can make the portal language dynamic such that the portal will use the language specified in the user's details. To do this:
- In the panel, create a language variable - - using the language codes (refer to Appendix B of the Professional Authoring documentation for details) as the codes for the options.
- Go to the Panel Utilities > Panel Portals menu command to open the Panel Portal List window, and select the portal you wish to work with.
- In the Panel Portal toolbox, right-click on the Portal name (the top item in the toolbox) and select Properties from the menu or double-click on the Portal name, to open the Properties page for the portal.
- Set the portal's Language Code Variable property to the variable you created in point 1 of this procedure - , as shown below.
- Save the changes.
This variable will need to include as answer options all the possible languages that you wish to provide to the panelists. It should ask for example, "In which language would you like to view the portal?"
Figure 3 - Example of the language variable
Figure 4 - Setting the Language Code Variable property
Once the panelist has completed the panel questionnaire and provided an answer to the language variable, when the panelist later logs in, he/she will automatically be presented with the language specified in the variable.
Note: The dynamic portal language functionality will not work if the Language Selector component is included in the panel. If the Language Selector component has been used then you will need to go through the panel and remove all instances of the component from the page master and all pages.