Replace hardcoded texts in template for translations