Fix issue 2 where rendering with unknown locale

closes #2