Translate layout template strings