[TYPO3-core] FYI: Added feature #10510: htmlArea RTE: Allow to specify default content language in BE

Stanislas Rolland typo3 at sjbr.ca
Sat Feb 21 00:32:37 CET 2009


FYI: The attached SVN patch was committed.

Type:
Feature/bugfix

Problem:
Some RTE features that insert content, usually in the form of values of 
html attributes, need to know what language to use when the language of 
the content element is not specified.

Currently, EM variable defaultDictionary is used for this purpose. But 
this is an undocumented conceptual flaw, because the installation may 
not be using the Spell Checker at all. Morevover, the default content 
language may vary depending on the branch of the page tree. Finally, the 
default content language is known in the FE from the $TSFE object.

Solution:
Page TSConfig property RTE.default.defaultContentLanguage will be used 
to specify the default content language in the BE. Value is a language 
ISO code, defaulting to en.

The value found on the $TSFE object will be used in the FE.

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

Branches:
trunk (revision 5045)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_feature_10510.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090220/addeabb9/attachment-0001.txt 


More information about the TYPO3-team-core mailing list