Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
When I used [site:url] in email
English
[site:url]user/points -> http://www.mydomain.com/user/points
Chinese
[site:url]user/points -> http://www.mydomain.com/chineseuser/points (why is the trailing slash missing in other languages ?)
If possible, I don't want the trailing slash with [site:url] token and standardized across languages. Otherwise this will pose lots of issues with multilingual emails. Thanks
Comments
Comment #1
Dave ReidYou'd probably want to create a custom token which uses the url() function to generate it's value. You can easily create tokens using the Custom tokens module.
Also this token is provided by Drupal core, and not by the Token module so there's not much we can do here.