$TCA['tt_content']['columns']['header']['l10n_mode'] = ''; $TCA['tt_content']['columns']['bodytext']['l10n_mode'] = '';
... war mein Freund ;) -----Ursprüngliche Nachricht----- Von: typo3-german-boun...@lists.typo3.org im Auftrag von Bjoern Pedersen Gesendet: Fr 19.11.2010 14:28 An: typo3-german@lists.typo3.org Betreff: Re: [TYPO3-german] Kopie für Übersetzung erstellen (Englisch) Am 19.11.2010 14:10, schrieb Hahnefeld Bjoern: > Hallo Peter, > > aber das verwirrt und ich würde es gerne abschalten, wenn es möglich ist. Wie > geht denn das? > > Viele Grüße > > Björn > preixfLangTitle in TCa is what you are looking for. http://typo3.org/documentation/document-library/extension-manuals/doc_l10nguide/1.1.0/view/1/4/ Localization command options per field When a localization command is executed from TCEmain the configuration of each field can contain special instructions. For instance; You can have a label prefixed a field (like you see "[Translate to Danish:]" in some screenshots) or you can have the copying of fields disabled all together (like an image field where you wish to inherit the default value by default). This is done by the [columns][l10n_mode] setting, documented in "TYPO3 Core API". "l10n_mode" does not apply to FlexForm fields. Conceptually, it does not make sense. http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.3.0/view/4/2/#id2517078 l10n_mode string (keyword) Localization mode. Only active if the ctrl-directive "languageField" is set. The main relevance is when a record is localized by an API call in TCEmain that makes a copy of the default language record. You can think of this process as copying all fields from the source record, except if a special mode applies as defined below: Keywords are: 1. exclude - Field will not be shown in TCEforms if this record is a localization of the default language. (Works basically like a display condition.)Excluded fields will not be copied when a language-copy is made.May have frontend implications similar to "mergeIfNotBlank". 2. mergeIfNotBlank - Field will be editable but if the field value is blank the value from the default translation is used (this can be very useful for images shared from the default record). Requires frontend support.In the backend the effect is that the field content is not copied when a new "localization copy" is made. 3. noCopy - Like mergeIfNotBlank but without the implications for the frontend; The field is just not copied. 4. prefixLangTitle - The field will get copied, but the content is prefixed with the title of the language. Works only for field types like "text" and "input" As mentioned above if "l10n_mode" is not set for a given field, that field is just copied as is to the translated record. (Doesn't apply to flexform fields.) _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german _______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german