FieldTranslationBehaviour
Defines possible behaviour scenarios based on TCA settings - 'l10n_mode' = exclude - 'l10n_mode' = prefixLangTitle - none = field is translatable
This is an experimental implementation and might change until TYPO3 v13 LTS
Table of Contents
Cases
- Excluded
- A field is excluded from the translation editing - means, it always has the same value as the default translation
- PrefixLanguageTitle
- A field can be translated. A prefix is prepended on initial localization like this: `[Translate to <language name>:]`
- Translatable
- A field can be translated -> any custom value can be set.
Methods
- tryFromFieldConfiguration() : self
Cases
Translatable
A field can be translated -> any custom value can be set.
PrefixLanguageTitle
A field can be translated. A prefix is prepended on initial localization like this: `[Translate to <language name>:]`
Excluded
A field is excluded from the translation editing - means, it always has the same value as the default translation
Methods
tryFromFieldConfiguration()
public
static tryFromFieldConfiguration(array<string|int, mixed> $fieldConfiguration) : self
Parameters
- $fieldConfiguration : array<string|int, mixed>