new conditional localize support in template engine