Support localized preferences
Ignore error on getLocalizedPref() if the default preference is a simple string preference.