[BUGFIX] Allow "en" as language key 14/17414/4
authorDaniel Alder <dalder@snowflake.ch>
Tue, 8 Jan 2013 10:21:25 +0000 (11:21 +0100)
committerXavier Perseguers <xavier@typo3.org>
Thu, 14 Feb 2013 14:15:20 +0000 (15:15 +0100)
commitb48bfc9cbbfb0ea8a85b1298637103a1458ad317
tree3ec4218b7024ccb06fca7b33b2150ee6af1e8160
parenta77b41f47fcae7ddb0045d47e8299b877764e903
[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
typo3/sysext/core/Classes/Localization/LocalizationFactory.php
typo3/sysext/core/Classes/Localization/Parser/AbstractXmlParser.php