templates: fix public/lang is writable