[FEATURE] Show only sys_languages in Backend which are available 72/57672/30
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 24 Jul 2018 11:00:50 +0000 (13:00 +0200)
committerBenni Mack <benni@typo3.org>
Wed, 22 Aug 2018 13:27:30 +0000 (15:27 +0200)
commit62365d3feaaa210c2f70771a0a510719640eb274
tree57466872f9e8793e3e3e078ad7001d935602e008
parent58892e775342e0b0cd44e83bcb237c11b040b254
[FEATURE] Show only sys_languages in Backend which are available

Instead of rendering all languages, only the ones provided by the
site module are now shown in forms of the FormEngine, in the List
module, the Info->Translation Overview and the Page module.

Fallbacks to pseudo sites are considered if no site configuration
for a page / page tree exists.

Resolves: #85164
Releases: master
Change-Id: I95b394cd3a31773e62f7e2cc40197aceb97705d8
Reviewed-on: https://review.typo3.org/57672
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
21 files changed:
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/backend/Classes/Controller/PageLayoutController.php
typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseSystemLanguageRows.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/backend/Resources/Private/Templates/SiteConfiguration/Overview.html
typo3/sysext/backend/Tests/Functional/View/Fixtures/LanguageSelectorScenarioDefault.csv [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/View/Fixtures/LanguageSelectorScenarioTranslationDone.csv [new file with mode: 0644]
typo3/sysext/backend/Tests/Functional/View/PageLayoutViewTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseSystemLanguageRowsTest.php
typo3/sysext/core/Classes/Site/Entity/PseudoSite.php
typo3/sysext/core/Classes/Site/Entity/Site.php
typo3/sysext/core/Classes/Site/Entity/SiteInterface.php
typo3/sysext/core/Classes/Site/Entity/SiteLanguage.php
typo3/sysext/core/Classes/Site/PseudoSiteFinder.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-85164-LanguageRelatedMethods.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-85164-AllowToOnlyShowSiteLanguagesInBE.rst [new file with mode: 0644]
typo3/sysext/info/Classes/Controller/TranslationStatusController.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php
typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyPublicMatcher.php
typo3/sysext/recordlist/Classes/Controller/RecordListController.php