Property: | Data type: | Description: | Default: |
|---|---|---|---|
file.templateFile | fileResource | The name of the HTML template file. | EXT:sr_language_menu/pi1/tx_srlanguagemenu_pi1_template.tmpl |
defaultLanguageISOCode | string | Language ISO-alpha-2 code of default site language. This is the language ISO-alpha-2 code of the site language when sys_language_uid = 0 | EN |
defaultCountryISOCode | string | Country ISO-alpha-2 code of default site language. This is the country ISO-alpha-2 code of the site language when sys_language_uid = 0 | |
englishFlagFile | fileResource | Name of the file of the English language flag. All flags should be in the same directory as this one. | EXT:sr_language_menu/flags/en.gif |
useSysLanguageTitle | boolean | Use the sys_language title. If enabled (set to 1), the title field of table sys_language will be used instead of the language name from the static_languages table. | 0 |
useIsoLanguageCountryCode | boolean | Use the ISO language and country codes. If enabled, the ISO language code and, possibly, the country code will be used instead of the language name from the static_languages table. Note: Ignored if useSysLanguageTitle is enabled. | 0 |
useSelfLanguageTitle | boolean | Display name of language in the language itself. If enabled, the name of the language will be displayed in the language itself. Note: Ignored if either useSysLanguageTitle or useIsoLanguageCountryCode is enabled. | 1 |
languagesUidsList | string | List of uids of language records from table sys_language. Note: This list will be used by default to build the list of languages to select from, if no list is otherwise provided to the plugin. Note: If the list is empty and not otherwise provided to the plugin, all languages found in table sys_language will be used. | |
defaultLayout | string | Default layout. Possible values: 0 = flags, 1 = selection list, 2 = list of links. Note: This default layout to be used, if no layout is otherwise provided to the plugin. | 0 |
showLinkWithFlag | boolean | Show both links and flags. If enabled, when using the flags layout, both flags and links may be shown. | 0 |
hideIfNoAltLanguages | boolean | Hide selection if there is no alternate language If enabled, the selection list or menu is not rendered if no alternate languages are present on the current page. | 0 |
showCurrent | boolean | Show the language of the current page in the language menu. When displayed as a selection list (for the other types, the CUR property applies). If enabled, the current language is shown in the language menu. | 1 |
showInactive | boolean | Show in the language menu the languages for which there is no translation of the current page. Note: This property does not apply to the selection list layout. | 1 |
pointerImage | string | File name of the pointer image. Note: The pointer may be used in stdWrap to highlight the currently displayed language. | typo3/gfx/content_client.gif |
separator | string | Separator between links. Note: String to be used in stdWrap as separator between links in the list of links layout. Note: In order to display | as separator, one must specify separator = | | |
token | string | Token used in stdWrap split of the list of flags and the list of links. | | |
removeParams | string | List of parameters that should not be forwarded when linking to another language. | user.pass |
addSelectionListHeader | boolean | If enabled, when the layout is a selection list, a header will be added at the top of the list. | 1 |
selectionListSeparator | string | Separator between the selection list and its header, if the selection list header is enabled. | ---------- |