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

Dave Reid’s picture

Status: Active » Closed (won't fix)

You'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.