[BUGFIX] Assure language override without original file 24/37524/5
authorStefan Galinski <stefan@sgalinski.de>
Wed, 4 Mar 2015 14:50:20 +0000 (15:50 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 17 Aug 2015 22:16:50 +0000 (00:16 +0200)
commite1eb67af9b060c3a07eccc99edf9c9afb4ce477b
treeb3e29b978763dd0731a2fa789ef52daba0bfca4a
parent941eb5dc75a53ef57f4247c491c27716b28f8910
[BUGFIX] Assure language override without original file

The language override of language files is currently broken,
because it only works if a localized language file already
exists inside the extension or l10n directory. This patch assures
that the language override takes place even if no file could
be found in the first place.

Resolves: #65513
Releases: master, 6.2
Change-Id: I9269e60c5788c435b06b820c459fd4f077d066ea
Reviewed-on: http://review.typo3.org/37524
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Stefan Galinski <stefan.galinski@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Localization/LocalizationFactory.php
typo3/sysext/core/Tests/Unit/Localization/LocalizationFactoryTest.php