[l10n] allow translation of preference enums