added locale to user preferences