[LocaleBundle] Fix setting locale code in LocaleListener