[TYPO3-ect] translations with lib/div
Franz Koch
typo at fx.MINUS.graefix.DOT.de
Sat Jul 28 19:23:30 CEST 2007
Hi Steffen,
> with lib/div it's easy to use lang vars like %%%label%%% in the view.
>
> Now my question is, how can i override these labels in TS ?
> The common syntax was like
> plugin._LOCAL_LANG.default.label = translation
> but this method doesn't work.
>
> How does that works ?
I suppose you already know - TS can only override labels that don't have a dot in it. Example:
--- works ----
plugin._LOCAL_LANG.default.a_bit_longer_label = whatever
--- works not ---
plugin._LOCAL_LANG.default.a_bit.longer.label = whatever
plugin._LOCAL_LANG.default.selectbox_name.0 = whatever
--------------
Just in case it's related to that ;)
--
Kind regards,
Franz Koch
More information about the TYPO3-team-extension-coordination
mailing list