Fixed setting custom locale
Merge pull request #216 from IjinPL/master

Fixed setting custom locale