added template and translation