bug fix - ensure locale dict is created correctly - issue #121