Issue 853 user locale for templates