question: convenience method that creates a viewlocale with the given locale and a display name created by calling getlocaldisplayname string , with the locale as argument . concode_field_sep String MESSAGES_BASE_FILENAME concode_elem_sep String DEFAULT_LOCALE concode_elem_sep String LANGUAGE_LOCALE_REGEX concode_elem_sep Logger logger concode_elem_sep String COUNTRY_LOCALE_REGEX concode_elem_sep Pattern messagesPropertiesPattern concode_field_sep Pattern createResourceFilesPattern concode_elem_sep String createResourceFilesRegex concode_elem_sep Pattern createMessagesPropertiesFilePattern concode_elem_sep List<String> readAvailableLocales concode_elem_sep List<String> getAvailableLocales concode_elem_sep String getLocalDisplayName concode_elem_sep List<ViewLocale> getAvailableViewLocales concode_elem_sep boolean accept
target: ViewLocale function ( String arg0 ) { return new ViewLocale ( arg0 , getLocalDisplayName ( arg0 ) ) ; }