added locale to the setContent methods