Project

General

Profile

Actions

Feature #46017

open

Language switcher for pagetree in Backend

Added by Frank Frewer about 11 years ago. Updated about 6 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2013-03-04
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
hard
Sprint Focus:

Description

For multi language sites it is not really convenient that the pagetree shows the page titles only in the default system language.

The attached patch (against TYPO3 4.5.23 - because I needed it for a site runing with this version) implements a language switcher (dropdown box) in the toppanel. That are the feature:
- Automatically refresh the pagetree after changing with page titles from pages_language_overlay (or with default title, if "Standard" is selected).
- Show the title in default language inside the tooltip while hovering over the title.
- With a alternative language selected, editing the page title will override the title field in pages_language_overlay.
- If there is no alternative page title in the selected language, show the page title in default language wrapped with square brackets. That provides a nice overview of page titles which have to be translated.
- In this case, editing the title between the square brackets will override the title field in pages.
- Editing the title while deleting the square brackets will create a new record in pages_language_overlay with the selected language. (Show a hint to this possibility inside the tooltip).
- Filtering with a search word will search in pages_language_overlay, not in pages.
- Switching the selected language while filtering will refresh the filtering tree in the new selected language.
- If there is only the default system language defined, the language switcher will not be shown.
- Setting options.pageTree.hideLanguageSelection = 1 in user TSConfig will hide the language switcher for thie user.

This issue is related to Feature #28441 (http://forge.typo3.org/issues/28441). The old issue is for TYPO3 4.6. So I opened a new one.


Files

patch_4.5.23_4.5.23_changed.diff (31.6 KB) patch_4.5.23_4.5.23_changed.diff Frank Frewer, 2013-03-04 14:32
pagetree-is.png (274 KB) pagetree-is.png Felix Kopp, 2013-03-18 17:20
pagetree-should.png (208 KB) pagetree-should.png Felix Kopp, 2013-03-18 17:20
pagetree-flyout.png (210 KB) pagetree-flyout.png Felix Kopp, 2013-03-18 17:57
01-english-selected.png (28.4 KB) 01-english-selected.png Ingo Renner, 2013-03-21 05:39
02-language-switcher-open.png (27.6 KB) 02-language-switcher-open.png Ingo Renner, 2013-03-21 05:39
03-german-hovered.png (27.8 KB) 03-german-hovered.png Ingo Renner, 2013-03-21 05:39
tree_language_switcher.psd (400 KB) tree_language_switcher.psd Ingo Renner, 2013-03-21 05:39
new_language_selector.png (119 KB) new_language_selector.png Alexander Opitz, 2015-09-21 08:50

Related issues 8 (3 open5 closed)

Related to TYPO3 Core - Bug #47123: Searching in a temporary mounted pagetree shows some pages as subpages of themselvesClosed2013-04-11

Actions
Related to TYPO3 Core - Bug #47126: Disable users which are restricted to only non default languages to handle page recordsClosed2013-04-11

Actions
Related to TYPO3 Core - Bug #47127: Show page overlays instead of default page title in right frame if a non default language is selectedClosed2013-04-11

Actions
Related to TYPO3 Core - Feature #66869: change language in page tree if certain language is selectedClosed2015-05-09

Actions
Related to TYPO3 Core - Feature #28441: Backend should (easily) allow to switch language used in page-treeClosed2011-07-25

Actions
Related to TYPO3 Core - Feature #73665: Backend page tree: show localized page titleNew2016-02-25

Actions
Related to TYPO3 Core - Feature #89524: Allow searching for localized pages in the page tree live searchNew2019-10-28

Actions
Related to TYPO3 Core - Feature #89582: Introduce translated page treeNew2019-11-05

Actions
Actions

Also available in: Atom PDF