fix locale selection, updated dependencies