#46017Language switcher for pagetree in Backend
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.
Reviews 1
Related issues 8
- Feature #28441Backend should (easily) allow to switch language used in page-tree
- Bug #47123Searching in a temporary mounted pagetree shows some pages as subpages of themselves
- Bug #47126Disable users which are restricted to only non default languages to handle page records
- Bug #47127Show page overlays instead of default page title in right frame if a non default language is selected
- Feature #66869change language in page tree if certain language is selected
- Feature #73665Backend page tree: show localized page title
- Feature #89524Allow searching for localized pages in the page tree live search
- Feature #89582Introduce translated page tree