Allow to chain any field token with a language code to get the translated field value

Created on 20 April 2020, almost 5 years ago
Updated 30 April 2024, 12 months ago

One use case, but others exists:
Let say I am creating a vocabulary for the company types in Belgium: SA, SPRL, SCRL etc
Unfortunately, there are 2 main languages in Belgium, and those acronyms are different in dutch: NV, BVBA, etc
I am using a Path Auto pattern to create the alias of thos terms and I would like to have both acronyms in the alias like : /company_type/SA-NV

Thus the missing tokens are [term:field_company_code:fr] and [term:field_company_code:nl] in this case.

I assume that this chained language parameter would only add the $options['langcode']='fr' or 'nl'

Is this make sense?

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium DuneBL

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024