[BUGFIX] Allow "en" as language key 62/18262/2
authorDaniel Alder <dalder@snowflake.ch>
Tue, 8 Jan 2013 10:21:25 +0000 (11:21 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Thu, 14 Feb 2013 14:22:26 +0000 (15:22 +0100)
commit8df3441a757f2aa5c10348ca432bcc98f565e448
tree5912862ab553ffd546556fb39be9ebbab6b5976d
parent90da916c4eb0003d9b7f16e91975c908739517ce
[BUGFIX] Allow "en" as language key

Fix a bug which was introduced by #25397 (commit:cb390c79).
If the selected language key is "en", do not override it to "default".
This allows custom updates to translations even for the English language.

Change-Id: I3fcbd35f0144a0cc152acd45d0861d153cc8b495
Resolves: #42084
Related: #25397
Releases: 4.6, 4.7, 6.0, 6.1
Reviewed-on: https://review.typo3.org/17414
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
Reviewed-on: https://review.typo3.org/18262
typo3/sysext/core/Classes/Localization/LocalizationFactory.php
typo3/sysext/core/Classes/Localization/Parser/AbstractXmlParser.php