Fixed issue where locale would report as None preventing localization from working. Closes #109, #110.