php - TYPO3 translate to NOT current language -
i have typo3 extension template:
{namespace v=tx_vhs_viewhelpers} <f:translate id="lll:typo3conf/ext/my_ext/resources/private/language/fr.locallang.xlf:labelterms" /> <f:translate id="lll:typo3conf/ext/my_ext/resources/private/language/it.locallang.xlf:labelterms" />
if current language french, first label translated french, second displays in english (default). when switch current language italian, second label displays in italian first displays in english
how can use 2 or more languages in same time on 1 page?
thank in advance.
basically, can not use 2 languages in same time on page. typo3 use current language , give asked for.
what can render 'translations' outside typo3 translation scope, meaning can, ex, use source of translated terms not treated typo3 translation (can array somewhere , etc ...)
or implement translations of other languages in xlif specific languages. make translation of fr, etc .. terms available in other languages also.
<f:translate id="lll:typo3conf/ext/my_ext/resources/private/language/fr.locallang.xlf:labelterms.itversion" /> <f:translate id="lll:typo3conf/ext/my_ext/resources/private/language/fr.locallang.xlf:labelterms.frversion" />
Comments
Post a Comment