Replacement pattern not translated in views

Created on 25 April 2024, 5 months ago

Problem/Motivation

Token use in Custom caption are not being translated

Steps to reproduce

  • Have a multilingual website
  • Create a view with a page of node type with a image type field
  • Add a field type image and set is formatter has colorbox
  • In settings choose for caption: Custom (with token)/li>
  • In Custom caption textarea add a token that has a translation like [node:title] or [node:body]
  • Save a visit the page in different languages

If I use the same token (twig style) in fields and use the rewrite results setting, the text is being translated, so the view is aware of the language.

Any ideas to fix this issue?
Thanks

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France anou Collonges au Mont d'Or

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024