[TYPO3-core] RFC: language rendering in TCEforms

René Fritz rene at typo3.org
Sat Feb 25 00:59:39 CET 2006


This is a CVS patch request.

Type: feature

Description:
Multilanguage support is configured in TCA mainly with "l10n_mode":
"The main relevance is when a record is localized by an API call in tcemain 
that makes a copy of the default language record."

I added a new option "l10n_display" to have configuration options for form 
rendering and display. This can be used to render a form of a translated 
record and have displayed the fields, which are in the default language only, 
as read only fields, for example.


Documentation
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/current/view/4/2/
after:  l10n_mode



Key
  l10n_display

Datatype
  list of keywords

Scope
  Display


Description

Localization display.
see: l10n_mode

This option can be used to define the language related field rendering. This 
has nothing todo with the processing of language overlays and data storage 
but the display of form fields.

Keywords are:

hideDiff - The differences to the default language field will not be 
displayed.

defaultAsReadonly - This renders the field as readonly field with the content 
of the default language record. The field will be rendered even if 
'l10n_mode' is set to 'exclude'. While 'exclude' define the field not to be 
translated this option activate display of the default data.



-- 
René Fritz
TYPO3 Association - Active Member
http://association.typo3.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3lib_tceforms-lang.patch
Type: text/x-diff
Size: 4732 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060225/38662f34/attachment.bin 


More information about the TYPO3-team-core mailing list