Added support for internationalized templates