fix github issue #5 and update locales