public String dump ( ) { StringBuilder buf = new StringBuilder ( ) ; buf . append ( " LOCALE MATCHED BUNDLE\n" ) ; buf . append ( " ====== ==============\n" ) ; List < MetaLocale > keys = availableBundlesMap . keySet ( ) . stream ( ) . map ( k -> ( MetaLocale ) k ) . collect ( Collectors . toList ( ) ) ; Collections . sort ( keys ) ; for ( CLDR . Locale key : keys ) { buf . append ( String . format ( "%20s -> %s\n" , key , availableBundlesMap . get ( key ) ) ) ; } return buf . toString ( ) ; }
Inspect the mapping between permutations of locale fields and bundle identifiers .