[TYPO3-dev] method "getRecordOverlay" is overlaying records set to "all languages" - bug or feature?

Martin Kutschker masi-no at spam-typo3.org
Fri Jan 16 09:48:28 CET 2009


Franz Koch schrieb:
> 
> I just read the l10n-guide again and found this:
> 
>> Elements with language “[All]”
>> When using language binding combined with “config.sys_language_overlay
>> = hideNonTranslated”  there is a special significance of the language
>> value “[All]” (technically the -1 value): These elements will not be
>> hidden in the translation - and they are not meant to be translated
>> although you can choose to do so.
> 
> So - what now. Whereas it's possible to translate records set to
> "language ALL" with traditional page module, it's not possible with TV
> and you won't see any existing translations for a record set to
> "language ALL". So is this then a bug in TV?

If we take the l10n-guide as the specs, yes. (I take it that this
snippets from the doc and the idea presented in my last post mean the same.)

> Should that behavior be made configurable or act differently based on
> the used paradigm?

The paradigm changes the behaviour. Wouldn't be much of a paradigm if
things were the same ;)

> Do we need a option 'default for ALL'/'ALL translatable' (value -2)?

If you *really* need an untranslatable [ALL] this is one option. The
other is to have another config option that defines the
"translatability" of [ALL] records. I guess it depends if you need them
on a case-by-case basis or just a site-wide setting.

Masi




More information about the TYPO3-dev mailing list