Bugfix in syncLocales