[FEATURE] Enable/disable a specific SiteLanguage in Frontend 34/57934/5
authorBenni Mack <benni@typo3.org>
Thu, 16 Aug 2018 20:25:28 +0000 (22:25 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 17 Aug 2018 10:13:04 +0000 (12:13 +0200)
commit6a73883dccf40a0e080319c7bf852576b539c04a
tree5d8375c319ea3ae5c17bd217f1ed02b779a05653
parent10df745ae22e3dd63f208431be325a4d74598156
[FEATURE] Enable/disable a specific SiteLanguage in Frontend

When adding a new language/translation it is quite common
to disable a language until it's "going live", so only logged-in
users can see the language variant.

A new checkbox "enabled in Frontend" is added to the site
configuration.

Resolves: #85164
Releases: master
Change-Id: Ib4265e76f3ace29c4942cd165182191042ae54a6
Reviewed-on: https://review.typo3.org/57934
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Classes/Controller/SiteConfigurationController.php
typo3/sysext/backend/Configuration/SiteConfiguration/site_language.php
typo3/sysext/backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf
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/SiteFinder.php
typo3/sysext/core/Documentation/Changelog/master/Feature-85164-EnableLanguagesPerSite.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/DataProcessing/LanguageMenuProcessor.php
typo3/sysext/frontend/Classes/Middleware/SiteResolver.php
typo3/sysext/frontend/Tests/Unit/Middleware/SiteResolverTest.php