Intrexx portals can be created in multiple languages and switched to
a different language in the end device. The language switcher is an
additional control in the Design module that can be inserted into a portal layout at any position. In the Portal Manager under the menu item Portal / Portal Properties / Country Settings, you will define the portal-wide defaults for language, date, time, and number formats.
Formats
Define the locations here whose formats you like to use. Just click on Edit formats for the selected location.
Time Zone
Here you will define the time zone that will be shown for date values in the portal. This time zone will be used as long as no individual time zone has been entered for a user. In Intrexx, all date values will be saved in the database in GMT (Greenwich Mean Time). For display in the browser, the difference between the current time zone and GMT will be added to or subtracted from the current time.
Languages
If you move additional languages from the list of Available Languages to the Selected Languages list, they will also be available in the portal for use. You will define the default language via the selection list in the lower area of the dialog.
Global Texts
The content of meta tags and constants for page texts are defined. Just click on Meta tags or Page texts in the left area of the dialog.
Applications and menu items
Multilingual Titles and Values
In the Applications module, you will find the
globe icon in the properties of elements, and when editing the menu
structure under the properties of menu items.
Clicking the icon will open a dialog in which the titles of elements or
menu items can be entered in the various defined portal languages. When
the language is switched in the browser, the text will be used for
which the currently selected language has been entered.
Multilingual Data Records
In order to show data records in the correct language upon switching
languages, the two-digit ISO 639 language code must be entered when
composing a data record (such as de for
German, en for English). Please take note
of capitalization when entering these language abbreviations. The
language-dependent display can be controlled by a filter.
Here you can find further
information on this topic.
Language Adjustment in Applications
In the Extras / Options menu the setting Check
application for missing titles can be set on the tabs Applications,
Design and Processes. When opening an
application, a design or a process it will be checked whether all
defined portal languages are supported.
This is the case if for all elements, data fields, etc., titles have
been entered in all portal languages. If you have, for example, entered
an additional portal language in the country settings, titles will not
automatically be entered.
If desired, missing titles can be filled in with titles from one of the
other portal languages. To do so, select a portal language by clicking
in the column Amend with....
If no title exists in the selected language, the incomplete title will
be replaced with an empty string.
In the Applications, Design and Process
module, you can search for Elements without titles
in one of the defined portal languages in the hints, which
correspondingly can be shown in the lower area via the menu View
/ Hints.
Elements in the Module Applications
The language in which the titles of elements will be shown in the module Applications can be switched via the globe icon in the toolbar. The Default portal language setting will show all titles in the default language.
Exporting and Importing Application Texts
If you are currently using the module Applications,
the title and name of all elements in an application can be exported in the form of an XML
file. This function can be used in the translation of the portal into
other languages. Clicking the menu item Application / Export
Texts will create an XML file, which can be saved to a
directory of your choice.
In order to edit them, open the XML file with a standard text editor.
All elements of the application will be given with their GUID,
as with the example below.
The corresponding language can be recognized from the language
abbreviations in the brackets. In our example, <en>Booking
Occasion</en> stands for the title of the
element in English, while <de>Reservierungsgrund</de>
corresponds to the German title, which will be shown when changing the
portal over to the German language. If you wish to edit a German
translation, simply change the title contained between the language
abbreviations (such as <de>Old German
title</de> to <de>New German title</de>).
The individual elements can be found again in the text editor via their
GUIDs. You can find the GUID of
an element in the moduel Applications
by highlighting the element in
question. With the F4 key, the GUID
of the element will be shown, as long as the expert options have been
activated from the Extras / Options menu. The GUID
can be also found in the properties dialog on the Expert
tab. Copy the GUID of the element to the
clipboard and then use it to find the item in the text editor.
If you have edited the texts of an application, you can refresh the old
titles in the application by using the XML file with the Import
Texts menu item. Select the XML file that you have previously
exported and edited here. After importing the file and saving the
application, the texts will be refreshed.
Options
Under Extras / Options, the language of the Portal
Manager can be defined. The new setting will go into effect the next
time the Portal Manager is started. Additionally, the language can be
selected in which multilingual titles will be shown.