s.addContainerProperty("caption", String.class, "");
s.setItemCaptionPropertyId("caption");
s.setFilteringMode(FilteringMode.CONTAINS);
for (Locale l : Locale.getAvailableLocales()) {
if (!s.containsId(l)) {
Item i = s.addItem(l);
i.getItemProperty("caption").setValue(getLocaleItemCaption(l));
}
}