i18n: Make values that has 'display_name' be displayed localized in editor

Dictionary values like Boolean, or some other value types which has 'display_name' can now be displayed with the localized version.
Merge pull request #3875 from louyihua/translation-fix

i18n: Make values that has 'display_name' be displayed localized in editor