Unlocalize placeholder pk in templates

This fixes #2055 when USE_THOUSAND_SEPARATOR is active