initial support for forced locale in template