use correct default language in template action replacement