7576777879808182838485
if (s == null) { log.debug("null string"); return 0; } try { LocaleId locale; try { locale = LocaleId.fromBCP47(bcp47Locale); } catch (Exception e) { log.error( "can't understand '{}' as a BCP-47 locale; defaulting to English",