Skip to content

Instantly share code, notes, and snippets.

@mtness
Forked from ABooooo/translate mask part
Last active June 25, 2022 05:51
Show Gist options
  • Save mtness/47a9df5eccaa225736464c9d9a4f1c2d to your computer and use it in GitHub Desktop.
Save mtness/47a9df5eccaa225736464c9d9a4f1c2d to your computer and use it in GitHub Desktop.
MASK-Template:
<f:translate key="label" />
Using this label in other templates:
<f:translate key="more" extensionName="mask" />
TYPO3-Setup:
plugin.tx_mask {
_LOCAL_LANG {
de {
label = Weiterlesen
}
en {
label = Read more
}
}
}
https://stackoverflow.com/questions/52876865/typo3-mask-labels-based-on-language
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment