templates: fix public/lang is writable

fix