bugfix

GetLocale missing return