Added defaultLocale in case no other locale is found. Fixes https://github.com/WISE-Community/WISE/issues/410.