fixed double parsing in settings for different locales

Fix for issue #9