fix language in rendering header and footer