Fix l10n fail when switching locale