derive locale.list from directory list