Issue #2597301 by DamienMcKenna: Only use the new locale-URL tokens when translations modules are enabled.