Token format [current-page:url:relative:en]

Here last en should be dynamic and should be the language code.

So if Drupal is setup to have 2 languages EN and ES, tokens available should be
[current-page:url:relative:en]
[current-page:url:relative:es]

And possible configuration in metatags

es-es|http://es.site.com/es[current-page:url:relative:es]
en-es|http://es.site.com/en[current-page:url:relative:en]

For a page http://us.site.com/en/promotions it would return

es-es|http://es.site.com/es/promotions-url-in-es
es-es|http://es.site.com/en/promotions

Along with alternate links from Drupal

Comments

nikunjkotecha created an issue. See original summary.

  • nikunjkotecha committed 8702d41 on 8.x-1.x
    Issue #3045663 by nikunjkotecha: Allow use of tokens to add current page...
nikunjkotecha’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.