[TYPO3-core] RFC: Bug #6924: t3lib_div::readLLXMLfile does not use localized content anymore

Oliver Hader oh at inpublica.de
Tue Dec 11 16:49:25 CET 2007


This is a SVN patch request.

Problem:
In bug 0006903 the localization of other languages (besides the
'default' language) should be move to an external file to prevent
loading unused string data.
If this file generated by t3lib_div::llXmlAutoFileName doesn't exist,
the localized part is set to an empty array at the end of
t3lib_div::readLLXMLfile.

Solution:
The solution is to check whether this external file exists.

Comments:
This affects also the recent release of TYPO3 4.1.4. If extension
developers are going to update there locallang.xml files, the cached
file will be rewritten and then this bug occurs. If nobody changes his
locallang files, the cached data will be used.

I suggest to release TYPO3 4.1.5 very soon before this issue breaks many
(non-english) sites.

Bugtracker references:
http://bugs.typo3.org/view.php?id=6924

Branch: TYPO3_4-1 & Trunk


olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006924.patch
Type: text/x-diff
Size: 716 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071211/17c68230/attachment.patch 


More information about the TYPO3-team-core mailing list