Fix issue 2 where rendering with unknown locale

closes #2
Merge pull request #6 from alicoding/issue2

Fix issue 2 where rendering with unknown locale